<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% Html.EnableClientValidation();%> <% using (Html.BeginForm("SaveEpisodeSorting", "Settings", FormMethod.Post, new {id = "form", name = "form"})) {%> <%--<%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>--%>
Episode Sorting
<%=Html.LabelFor(m => m.ShowName)%>
<%=Html.CheckBoxFor(m => m.ShowName)%>
<%=Html.ValidationMessageFor(m => m.ShowName)%>
<%=Html.LabelFor(m => m.EpisodeName)%>
<%=Html.CheckBoxFor(m => m.EpisodeName)%>
<%=Html.ValidationMessageFor(m => m.EpisodeName)%>
<%=Html.LabelFor(m => m.ReplaceSpaces)%>
<%=Html.CheckBoxFor(m => m.ReplaceSpaces)%>
<%=Html.ValidationMessageFor(m => m.ReplaceSpaces)%>
<%=Html.LabelFor(m => m.AppendQuality)%>
<%=Html.CheckBoxFor(m => m.AppendQuality)%>
<%=Html.ValidationMessageFor(m => m.AppendQuality)%>
<%=Html.LabelFor(m => m.UseAirByDate)%>
<%=Html.CheckBoxFor(m => m.UseAirByDate)%>
<%=Html.ValidationMessageFor(m => m.UseAirByDate)%>
<%=Html.LabelFor(m => m.SeasonFolders)%>
<%=Html.CheckBoxFor(m => m.SeasonFolders)%>
<%=Html.ValidationMessageFor(m => m.SeasonFolders)%>
<%=Html.LabelFor(m => m.SeasonFolderFormat)%>
<%=Html.TextBoxFor(m => m.SeasonFolderFormat)%>
<%=Html.ValidationMessageFor(m => m.SeasonFolderFormat)%>
<%=Html.LabelFor(m => m.SeparatorStyle)%>
<%=Html.DropDownListFor(m => m.SeparatorStyle, Model.SeparatorStyles)%>
<%=Html.ValidationMessageFor(m => m.SeparatorStyle)%>
<%=Html.LabelFor(m => m.NumberStyle)%>
<%=Html.DropDownListFor(m => m.NumberStyle, Model.NumberStyles)%>
<%=Html.ValidationMessageFor(m => m.NumberStyle)%>
<%=Html.LabelFor(m => m.MultiEpisodeStyle)%>
<%=Html.DropDownListFor(m => m.MultiEpisodeStyle, Model.MultiEpisodeStyles)%>
<%=Html.ValidationMessageFor(m => m.MultiEpisodeStyle)%>
<% }%>