Details and queue management
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user