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

30 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">
Index
</asp:Content>
<asp:Content ID="General" ContentPlaceHolderID="MainContent" runat="server">
<h2>
Settings</h2>
<% using (Html.BeginForm())
{ %>
<%: Html.ValidationSummary(true, "Unable to save you 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>