<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form" })) {%> <%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>
Indexers <%for (int i = 0; i < Model.Indexers.Count(); i++){%> <%= Html.TextBoxFor(m => m.Indexers[i].IndexerName, new { @style = "display:none" })%> <%= Html.TextBoxFor(m => m.Indexers[i].Order, new { @style = "display:none" })%> <%= Html.TextBoxFor(m => m.Indexers[i].RssUrl, new { @style = "display:none" })%> <%= Html.TextBoxFor(m => m.Indexers[i].ApiUrl, new { @style = "display:none" })%> <%}%> <%--NZBMatrix--%>
<%= Html.LabelFor(m => m.NzbMatrixUsername) %>
<%= Html.TextBoxFor(m => m.NzbMatrixUsername)%> <%= Html.ValidationMessageFor(m => m.NzbMatrixUsername)%>
<%= Html.LabelFor(m => m.NzbMatrixApiKey) %>
<%= Html.TextBoxFor(m => m.NzbMatrixApiKey)%> <%= Html.ValidationMessageFor(m => m.NzbMatrixApiKey)%>

<%--NZBs.Org--%>
<%= Html.LabelFor(m => m.NzbsOrgUId) %>
<%= Html.TextBoxFor(m => m.NzbsOrgUId)%> <%= Html.ValidationMessageFor(m => m.NzbsOrgUId)%>
<%= Html.LabelFor(m => m.NzbsOrgHash) %>
<%= Html.TextBoxFor(m => m.NzbsOrgHash)%> <%= Html.ValidationMessageFor(m => m.NzbsOrgHash)%>

<%--NZBsrus--%>
<%= Html.LabelFor(m => m.NzbsrusUId) %>
<%= Html.TextBoxFor(m => m.NzbsrusUId)%> <%= Html.ValidationMessageFor(m => m.NzbsrusUId)%>
<%= Html.LabelFor(m => m.NzbsrusHash) %>
<%= Html.TextBoxFor(m => m.NzbsrusHash)%> <%= Html.ValidationMessageFor(m => m.NzbsrusHash)%>

<% } %>