Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_CreateOrUpdate.Values.cshtml

@model AddressAttributeModel

@if (Model.Id > 0)
{
    
@await Html.PartialAsync("Table", new DataTablesModel { Name = "addressattributevalues-grid", UrlRead = new DataUrl("ValueList", "AddressAttribute", new RouteValueDictionary { [nameof(AddressAttributeValueSearchModel.AddressAttributeId)] = Model.Id }), UrlDelete = new DataUrl("ValueDelete", "AddressAttribute", null), Length = Model.AddressAttributeValueSearchModel.PageSize, LengthMenu = Model.AddressAttributeValueSearchModel.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(AddressAttributeValueModel.Name)) { Title = T("Admin.Address.AddressAttributes.Values.Fields.Name").Text }, new ColumnProperty(nameof(AddressAttributeValueModel.IsPreSelected)) { Title = T("Admin.Address.AddressAttributes.Values.Fields.IsPreSelected").Text, Width = "10", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(AddressAttributeValueModel.DisplayOrder)) { Title = T("Admin.Address.AddressAttributes.Values.Fields.DisplayOrder").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(AddressAttributeValueModel.Id)) { Title = T("Admin.Common.Edit").Text, ClassName = NopColumnClassDefaults.Button, Width = "100", Render = new RenderCustom("renderColumnEdit") }, new ColumnProperty(nameof(AddressAttributeValueModel.Id)) { Title = T("Admin.Common.Delete").Text, ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonRemove(T("Admin.Common.Delete").Text), Width = "100" } } })
} else {
@T("Admin.Address.AddressAttributes.Values.SaveBeforeEdit")
}