<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderPage" runat="server">

 <h3>设置网站基本信息</h3>
 <%=Html.ValidationSummary("修改基本信息失败，请修改错误后重试") %>
 <%using (Html.BeginForm("AdminSetupEdit"))
   {
      %>
        <div>
          <fieldset>
            <legend>修改网站基本配置信息</legend>
           <p>
             <label for="blogtitle">博客标题：</label>
             <%=Html.TextBox("blogtilte", ViewData["BlogTitle"], new { size = 50 })%>
             <%=Html.ValidationMessage("blogtitle") %>
           </p>
            <p>
             <label for="blogdescription">描述（HTML)</label>
             <%=Html.TextBox("blogdescription", ViewData["BlogDescription"], new { size = 50 })%>
             <%=Html.ValidationMessage("blogdescription")%>
           </p>
            <p>
             <label for="rootpath">网站路径：</label>
             <%=Html.TextBox("rootpath", ViewData["RootPath"], new { size = 50 })%>
             <%=Html.ValidationMessage("rootpath")%>
           </p>
            <p>
             <label for="rsspagesize">RSS页面大小：</label>
             <%=Html.TextBox("rsspagesize", ViewData["RSSPageSize"], new { size = 50 })%>
             <%=Html.ValidationMessage("rsspagesize")%>
           </p>
            <p>
             <label for="maxfilesize">文件最大上传文件大小</label>
             <%=Html.TextBox("maxfilesize", ViewData["MaxFileSize"], new { size = 50 })%>
             <%=Html.ValidationMessage("maxfilesize")%>
           </p>
           <p>
             <input type="submit" value="修改" class="button" />
           </p>
          </fieldset>
        </div>
      <%
   } %>
</asp:Content>
