|
|
|
@ -20,12 +20,16 @@
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="providerOptions">
|
|
|
|
|
<div>
|
|
|
|
|
@Html.Label("Enabled")
|
|
|
|
|
@Html.CheckBoxFor(m => m.Enable)
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
@Html.LabelFor(x => x.Name)
|
|
|
|
|
@Html.TextBoxFor(x => x.Name, new {@class = "providerName_textbox"})
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
@if(!Model.BuiltIn)
|
|
|
|
|
{
|
|
|
|
|
@Html.LabelFor(x => x.Url)
|
|
|
|
@ -38,10 +42,13 @@
|
|
|
|
|
@Html.TextBox("DisabledIndexer", Model.Url, new { disabled = "disabled" })
|
|
|
|
|
@Html.HiddenFor(m => m.Url)
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
@Html.LabelFor(x => x.ApiKey)
|
|
|
|
|
@Html.TextBoxFor(m => m.ApiKey)
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@Html.HiddenFor(x => x.Id, new {@class = "newznabProviderId"})
|
|
|
|
|
@Html.Hidden("cleanId", idClean, new {@class = "cleanId"})
|
|
|
|
|