@model ProductModel.ProductVariantAttributeValueModel @using SmartStore.Core.Domain.Catalog; @using Telerik.Web.Mvc.UI; @Html.ValidationSummary(false) @Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.ProductVariantAttributeId)
@Html.SmartLabelFor(model => model.ValueTypeId) @Html.DropDownListFor(model => model.ValueTypeId, ((ProductVariantAttributeValueType)Model.ValueTypeId).ToSelectList()) @Html.ValidationMessageFor(model => model.ValueTypeId)
@Html.SmartLabelFor(model => model.LinkedProductId) @Html.HiddenFor(model => model.LinkedProductId)
@Model.LinkedProductName
@Html.ValidationMessageFor(model => model.LinkedProductId)
@Html.SmartLabelFor(model => model.Quantity) @Html.EditorFor(model => model.Quantity) @Html.ValidationMessageFor(model => model.Quantity)

@(Html.LocalizedEditor("productattributevalue-localized", @
@Html.SmartLabelFor(model => model.Locales[item].Name) @Html.EditorFor(model => Model.Locales[item].Name) @Html.ValidationMessageFor(model => model.Locales[item].Name)
@Html.HiddenFor(model => model.Locales[item].LanguageId)
, @
@Html.SmartLabelFor(model => model.Name) @Html.EditorFor(model => model.Name) @Html.ValidationMessageFor(model => model.Name)
)) @Html.HiddenFor(model => model.DisplayColorSquaresRgb) @if (Model.DisplayColorSquaresRgb) { }
@Html.SmartLabelFor(model => model.Alias) @Html.EditorFor(model => model.Alias) @Html.ValidationMessageFor(model => model.Alias)
@Html.SmartLabelFor(model => model.ColorSquaresRgb) @Html.EditorFor(model => model.ColorSquaresRgb) @Html.ValidationMessageFor(model => model.ColorSquaresRgb)
@Html.SmartLabelFor(model => model.PriceAdjustment) @Html.EditorFor(model => model.PriceAdjustment) @Html.ValidationMessageFor(model => model.PriceAdjustment)
@Html.SmartLabelFor(model => model.WeightAdjustment) @Html.EditorFor(model => model.WeightAdjustment) @Html.ValidationMessageFor(model => model.WeightAdjustment)
@Html.SmartLabelFor(model => model.IsPreSelected) @Html.EditorFor(model => model.IsPreSelected) @Html.ValidationMessageFor(model => model.IsPreSelected)
@Html.SmartLabelFor(model => model.DisplayOrder) @Html.EditorFor(model => model.DisplayOrder) @Html.ValidationMessageFor(model => model.DisplayOrder)