Files
LeafWeb/WebCms/Views/Shared/EditorTemplates/TermsOfService.cshtml
T
poprhythm 8452a9cce0 Add registration workflow
Update unobtrusive Validation
2020-01-10 14:52:11 -05:00

21 lines
658 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, " is-invalid"))">
<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="fa fa-window-restore" aria-hidden="true"></span>
</a>
</label>
</div>
@Html.ValidationMessageFor(m => m, null, new { @class = "form-text" })
</div>