Sonarr/NzbDrone.Web/Views/Settings/Index.aspx

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2010-09-24 05:21:45 +00:00
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NzbDrone.Web.Models.SettingsModel>" %>
2010-09-24 05:37:48 +00:00
<%@ Import Namespace="NzbDrone.Web.Controllers" %>
2010-09-24 05:21:45 +00:00
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
2010-10-02 19:01:43 +00:00
Settings
2010-09-24 05:21:45 +00:00
</asp:Content>
<asp:Content ID="General" ContentPlaceHolderID="MainContent" runat="server">
<% using (Html.BeginForm())
{ %>
2010-09-24 07:14:42 +00:00
<%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>
2010-09-24 05:21:45 +00:00
<div>
<fieldset>
<legend>General</legend>
<div class="editor-label">
<%: Html.LabelFor(m => m.TvFolder) %>
2010-09-24 05:21:45 +00:00
</div>
<div class="editor-field">
<%: Html.TextBoxFor(m => m.TvFolder) %>
<%: Html.ValidationMessageFor(m => m.TvFolder) %>
2010-09-24 05:21:45 +00:00
</div>
<p>
<input type="submit" value="Save" />
</p>
</fieldset>
</div>
<% } %>
</asp:Content>