<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% Html.EnableClientValidation();%> <% using (Html.BeginForm("SaveDownloads", "Settings", FormMethod.Post, new {id = "form", name = "form"})) {%> <%--<%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>--%>
Download Settings <%--//Sync Frequency //Download Propers? //Retention //SAB Host/IP //SAB Port //SAB APIKey //SAB Username //SAB Password //SAB Category //SAB Priority--%>
Usenet Variables
<%=Html.LabelFor(m => m.SyncFrequency)%>
<%=Html.TextBoxFor(m => m.SyncFrequency)%>
<%=Html.ValidationMessageFor(m => m.SyncFrequency)%>
<%=Html.LabelFor(m => m.DownloadPropers)%>
<%=Html.CheckBoxFor(m => m.DownloadPropers)%>
<%=Html.ValidationMessageFor(m => m.DownloadPropers)%>
<%=Html.LabelFor(m => m.Retention)%>
<%=Html.TextBoxFor(m => m.Retention)%>
<%=Html.ValidationMessageFor(m => m.Retention)%>
<%=Html.LabelFor(m => m.UseBlackHole)%>
<%=Html.RadioButtonFor(m => m.UseBlackHole, true, new {@class = "blackhole_radio"})%>Blackhole
<%=Html.RadioButtonFor(m => m.UseBlackHole, false, new {@class = "blackhole_radio"})%>SABnzbd
<% }%>