Files
OurUmbraco/OurUmbraco.Site/Views/Partials/Members/ProfileNotification.cshtml
T
2015-07-26 20:31:59 +02:00

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>