33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
@model StoreModel
|
|
|
|
@{
|
|
//page title
|
|
ViewBag.PageTitle = T("Admin.Configuration.Stores.AddNew").Text;
|
|
//active menu item (system name)
|
|
NopHtml.SetActiveMenuItemSystemName("Stores");
|
|
}
|
|
|
|
<form asp-controller="Store" asp-action="Create" method="post">
|
|
<div class="content-header clearfix">
|
|
<h1 class="float-left">
|
|
@T("Admin.Configuration.Stores.AddNew")
|
|
<small>
|
|
<i class="fas fa-arrow-circle-left"></i>
|
|
<a asp-action="List">@T("Admin.Configuration.Stores.BackToList")</a>
|
|
</small>
|
|
</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>
|
|
<button type="submit" name="save-continue" class="btn btn-primary">
|
|
<i class="far fa-floppy-disk"></i>
|
|
@T("Admin.Common.SaveContinue")
|
|
</button>
|
|
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.StoreDetailsButtons, additionalData = Model })
|
|
</div>
|
|
</div>
|
|
@await Html.PartialAsync("_CreateOrUpdate", Model)
|
|
</form>
|