@page
@model NorthwindRazor.Pages.Products_AddModel
@section AdditionalJavaScript {
    @await Html.PartialAsync("_ValidationScriptsPartial")
 
    <script type="text/javascript">
        $(function () {
            $('.datetextbox').datepicker({dateFormat: 'm/d/yy'});
        });
    </script>
}
 
<h2>Add Record</h2>
@Html.ValidationSummary(true)
<div>
    @Html.Partial("./Shared/_AddEditProductsPartial", Model.PartialModel)
</div>