Files
LeafWeb/WebCms/Views/Shared/EditorTemplates/TermsOfService.cshtml
T
2017-01-13 09:15:15 -05:00

21 lines
668 B
Plaintext

@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.CheckBoxFor(m=> m)
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>