Details improvements
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
@using LeafWeb.WebCms.Utility
|
||||
@model bool?
|
||||
@model bool
|
||||
|
||||
@{
|
||||
var propertyName = ViewData.ModelMetadata.PropertyName;
|
||||
var isChecked = Model.HasValue && Model.Value;
|
||||
//var isChecked = Model.HasValue && Model.Value;
|
||||
}
|
||||
|
||||
<div class="@(Html.ValidationErrorFor(m => m, " has-error"))">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
@Html.CheckBox(
|
||||
name: "",
|
||||
isChecked: isChecked)
|
||||
@Html.CheckBoxFor(m=> m)
|
||||
I agree to the
|
||||
<a href="@UmbracoContext.Current.UrlProvider.GetUrl(1115)" target="_blank">
|
||||
Terms of Service
|
||||
|
||||
Reference in New Issue
Block a user