25 lines
646 B
Plaintext
25 lines
646 B
Plaintext
@using OurUmbraco.Our.Controllers
|
|
@inherits Umbraco.Web.Mvc.UmbracoViewPage<OurUmbraco.Our.Models.ProfileNotificationModel>
|
|
@{
|
|
Html.EnableClientValidation(true);
|
|
Html.EnableUnobtrusiveJavaScript(true);
|
|
}
|
|
|
|
|
|
|
|
|
|
<div class="profile-settings-forms">
|
|
|
|
@using (Html.BeginUmbracoForm<ProfileNotificationController>("HandleSubmit"))
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
|
|
<div class="profile-input" id="dont-bug">
|
|
@Html.LabelFor(m => m.DontBug)
|
|
@Html.CheckBoxFor(m => m.DontBug, new { onchange = "this.form.submit();" })
|
|
</div>
|
|
|
|
}
|
|
|
|
</div>
|