@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Skcks.Study.AbpProject.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@model Skcks.Study.AbpProject.Web.Pages.Products.CreateProductModal

@inject IHtmlLocalizer<AbpProjectResource> L
@{
    Layout = null;
}

<abp-dynamic-form abp-model="Product" asp-page="/Products/CreateProductModal">
    <abp-modal>
        <abp-modal-header title="@L["NewProduct"].Value"></abp-modal-header>
        <abp-modal-body>
            <abp-form-content/>
        </abp-modal-body>
        <abp-modal-footer buttons="@(AbpModalButtons.Cancel|AbpModalButtons.Save)"></abp-modal-footer>
    </abp-modal>
</abp-dynamic-form>

