Details and queue management

This commit is contained in:
2017-01-06 08:43:22 -05:00
parent d14e40a36b
commit 42ac27e16f
24 changed files with 260 additions and 51 deletions
@@ -0,0 +1,23 @@
@using LeafWeb.WebCms.Utility
@model bool?
@{
var propertyName = ViewData.ModelMetadata.PropertyName;
var isChecked = Model.HasValue && Model.Value;
}
<div class="@(Html.ValidationErrorFor(m => m, " has-error"))">
<div class="checkbox">
<label>
@Html.CheckBox(
name: "",
isChecked: isChecked)
I agree to the
<a href="@UmbracoContext.Current.UrlProvider.GetUrl(1115)" target="_blank">
Terms of Service
<span class="glyphicon glyphicon-new-window" aria-hidden="true"></span>
</a>
</label>
</div>
@Html.ValidationMessageFor(m => m, null, new { @class = "help-block" })
</div>