@using NzbDrone.Web.Helpers; @model NzbDrone.Web.Models.SabnzbdSettingsModel @using (Html.BeginForm("SaveSabnzbd", "Settings", FormMethod.Post, new { id = "form", name = "form" })) {
SABnzbd
@Html.LabelFor(m => m.SabHost)
@Html.TextBoxFor(m => m.SabHost)
@Html.ValidationMessageFor(m => m.SabHost)
@Html.DescriptionFor(m => m.SabHost)
@Html.LabelFor(m => m.SabPort)
@Html.TextBoxFor(m => m.SabPort)
@Html.ValidationMessageFor(m => m.SabPort)
@Html.DescriptionFor(m => m.SabPort)
@Html.LabelFor(m => m.SabApiKey)
@Html.TextBoxFor(m => m.SabApiKey)
@Html.ValidationMessageFor(m => m.SabApiKey)
@Html.DescriptionFor(m => m.SabApiKey)
@Html.LabelFor(m => m.SabUsername)
@Html.TextBoxFor(m => m.SabUsername)
@Html.ValidationMessageFor(m => m.SabUsername)
@Html.DescriptionFor(m => m.SabUsername)
@Html.LabelFor(m => m.SabPassword)
@Html.TextBoxFor(m => m.SabPassword)
@Html.ValidationMessageFor(m => m.SabPassword)
@Html.DescriptionFor(m => m.SabPassword)
@Html.LabelFor(m => m.SabTvCategory)
@Html.TextBoxFor(m => m.SabTvCategory)
@Html.ValidationMessageFor(m => m.SabTvCategory)
@Html.DescriptionFor(m => m.SabTvCategory)
@Html.LabelFor(m => m.SabTvPriority)
@Html.DropDownListFor(m => m.SabTvPriority, Model.PrioritySelectList)
@Html.ValidationMessageFor(m => m.SabTvPriority)
@Html.DescriptionFor(m => m.SabTvPriority)
@Html.LabelFor(m => m.SabDropDirectory)
@{Html.Telerik().ComboBoxFor(m => m.SabDropDirectory) .BindTo(Model.SabDropDirectorySelectList) .DataBinding(binding => binding.Ajax().Select("_autoCompletePath", "Directory").Delay(400).Cache(false)) .Filterable(f => f.FilterMode(AutoCompleteFilterMode.StartsWith)) .HighlightFirstMatch(true) .HtmlAttributes(new { style = "margin-left: -2px; width: 220px;" }) .Render();}
@Html.ValidationMessageFor(m => m.SabDropDirectory)
@Html.DescriptionFor(m => m.SabDropDirectory)
}