Make ViewModel bool parameters nullable
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
@using System.Web.Mvc.Html
|
||||
@using ClientDependency.Core.Mvc
|
||||
@using LeafWeb.WebCms.Utility
|
||||
@model LeafDataQuery
|
||||
@{
|
||||
Html.RequiresJs("~/scripts/jquery.validate.min.js", 2);
|
||||
Html.RequiresJs("~/scripts/jquery.validate.unobtrusive.min.js", 2);
|
||||
Html.RequiresJs("~/scripts/jquery.validate.custom.js", 2);
|
||||
Html.RequiresJs("~/scripts/jquery.validate.unobtrusive.bootstrap.js", 2);
|
||||
Html.RequiresJs("~/scripts/LeafDataQuery.js", 3);
|
||||
|
||||
var actionName = string.Empty;
|
||||
var controllerName = string.Empty;
|
||||
@@ -25,7 +25,7 @@
|
||||
htmlFormAction = (string)ViewData["htmlFormAction"];
|
||||
}
|
||||
}
|
||||
@using (Html.BeginUmbracoForm(actionName, controllerName, null, new { action = htmlFormAction }))
|
||||
@using (Html.BeginUmbracoForm(actionName, controllerName, null, new { action = htmlFormAction, id = "leafdataquery" }))
|
||||
{
|
||||
<div class="row justify-content-end">
|
||||
<div class="col text-right pt-2">
|
||||
|
||||
Reference in New Issue
Block a user