<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% 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--%>
<%= 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.Rentention)%> <%= Html.TextBoxFor(m => m.Rentention)%> <%= Html.ValidationMessageFor(m => m.Rentention)%>

<%= Html.LabelFor(m => m.SabHost)%> <%= Html.TextBoxFor(m => m.SabHost)%> <%= Html.ValidationMessageFor(m => m.SabHost)%>

<%= Html.LabelFor(m => m.SabPort)%> <%= Html.TextBoxFor(m => m.SabPort)%> <%= Html.ValidationMessageFor(m => m.SabPort)%>

<%= Html.LabelFor(m => m.SabApiKey)%> <%= Html.TextBoxFor(m => m.SabApiKey)%> <%= Html.ValidationMessageFor(m => m.SabApiKey)%>

<%= Html.LabelFor(m => m.SabUsername)%> <%= Html.TextBoxFor(m => m.SabUsername)%> <%= Html.ValidationMessageFor(m => m.SabUsername)%>

<%= Html.LabelFor(m => m.SabPassword)%> <%= Html.TextBoxFor(m => m.SabPassword)%> <%= Html.ValidationMessageFor(m => m.SabPassword)%>

<%= Html.LabelFor(m => m.SabCategory)%> <%= Html.TextBoxFor(m => m.SabCategory)%> <%= Html.ValidationMessageFor(m => m.SabCategory)%>
<%--
<%= Html.DropDownListFor(m => m.SabPriority) %>
<%= Html.TextBoxFor(m => m.SabCategory)%> <%= Html.ValidationMessageFor(m => m.SabCategory)%>
--%>

<% } %>