Details improvements

This commit is contained in:
2017-01-13 09:15:15 -05:00
parent 9d0524dd72
commit 3ee9c11666
75 changed files with 21884 additions and 112 deletions
@@ -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