<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% Html.EnableClientValidation();%> <% using (Html.BeginForm("SaveNotifications", "Settings", FormMethod.Post, new {id = "form", name = "form"})) {%> <%--<%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>--%>
Notification Settings
XBMC
<%=Html.LabelFor(m => m.XbmcEnabled)%>
<%=Html.CheckBoxFor(m => m.XbmcEnabled)%>
<%=Html.ValidationMessageFor(m => m.XbmcEnabled)%>
<%=Html.LabelFor(m => m.XbmcNotifyOnGrab)%>
<%=Html.CheckBoxFor(m => m.XbmcNotifyOnGrab)%>
<%=Html.ValidationMessageFor(m => m.XbmcNotifyOnGrab)%>
<%=Html.LabelFor(m => m.XbmcNotifyOnDownload)%>
<%=Html.CheckBoxFor(m => m.XbmcNotifyOnDownload)%>
<%=Html.ValidationMessageFor(m => m.XbmcNotifyOnDownload)%>
<%=Html.LabelFor(m => m.XbmcNotifyOnRename)%>
<%=Html.CheckBoxFor(m => m.XbmcNotifyOnRename)%>
<%=Html.ValidationMessageFor(m => m.XbmcNotifyOnRename)%>
<%=Html.LabelFor(m => m.XbmcNotificationImage)%>
<%=Html.CheckBoxFor(m => m.XbmcNotificationImage)%>
<%=Html.ValidationMessageFor(m => m.XbmcNotificationImage)%>
<%=Html.LabelFor(m => m.XbmcDisplayTime)%>
<%=Html.TextBoxFor(m => m.XbmcDisplayTime)%>
<%=Html.ValidationMessageFor(m => m.XbmcDisplayTime)%>
<%=Html.LabelFor(m => m.XbmcUpdateOnDownload)%>
<%=Html.CheckBoxFor(m => m.XbmcUpdateOnDownload)%>
<%=Html.ValidationMessageFor(m => m.XbmcUpdateOnDownload)%>
<%=Html.LabelFor(m => m.XbmcUpdateOnRename)%>
<%=Html.CheckBoxFor(m => m.XbmcUpdateOnRename)%>
<%=Html.ValidationMessageFor(m => m.XbmcUpdateOnRename)%>
<%=Html.LabelFor(m => m.XbmcFullUpdate)%>
<%=Html.CheckBoxFor(m => m.XbmcFullUpdate)%>
<%=Html.ValidationMessageFor(m => m.XbmcFullUpdate)%>
<%=Html.LabelFor(m => m.XbmcCleanOnDownload)%>
<%=Html.CheckBoxFor(m => m.XbmcCleanOnDownload)%>
<%=Html.ValidationMessageFor(m => m.XbmcCleanOnDownload)%>
<%=Html.LabelFor(m => m.XbmcCleanOnRename)%>
<%=Html.CheckBoxFor(m => m.XbmcCleanOnRename)%>
<%=Html.ValidationMessageFor(m => m.XbmcCleanOnRename)%>
<%=Html.LabelFor(m => m.XbmcHosts)%>
<%=Html.TextBoxFor(m => m.XbmcHosts)%>
<%=Html.ValidationMessageFor(m => m.XbmcHosts)%>
<%=Html.LabelFor(m => m.XbmcUsername)%>
<%=Html.TextBoxFor(m => m.XbmcUsername)%>
<%=Html.ValidationMessageFor(m => m.XbmcUsername)%>
<%=Html.LabelFor(m => m.XbmcPassword)%>
<%=Html.TextBoxFor(m => m.XbmcPassword)%>
<%=Html.ValidationMessageFor(m => m.XbmcPassword)%>
<% }%>