27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
@model PredefinedProductAttributeValueModel
|
|
|
|
@{
|
|
Layout = "_AdminPopupLayout";
|
|
|
|
//page title
|
|
ViewBag.PageTitle = T("Admin.Catalog.Attributes.ProductAttributes.PredefinedValues.AddNew").Text;
|
|
}
|
|
|
|
<form asp-controller="ProductAttribute" asp-action="PredefinedProductAttributeValueCreatePopup"
|
|
asp-route-productAttributeId="@Context.Request.Query["productAttributeId"]"
|
|
asp-route-btnId="@Context.Request.Query["btnId"]"
|
|
asp-route-formId="@Context.Request.Query["formId"]">
|
|
<div class="content-header clearfix">
|
|
<h1 class="float-left">
|
|
@T("Admin.Catalog.Attributes.ProductAttributes.PredefinedValues.AddNew")
|
|
</h1>
|
|
<div class="float-right">
|
|
<button type="submit" name="save" class="btn btn-primary">
|
|
<i class="far fa-floppy-disk"></i>
|
|
@T("Admin.Common.Save")
|
|
</button>
|
|
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductAttributePredefinedValueDetailsButtons, additionalData = Model })
|
|
</div>
|
|
</div>
|
|
@await Html.PartialAsync("_CreateOrUpdatePredefinedProductAttributeValue", Model)
|
|
</form> |