<%@ Page Title="表单模板编辑" StylesheetTheme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="FormTemplateEdit.aspx.cs" Inherits="Solution.Admin.Contents.FormTemplateEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="form11" runat="server" method="post" enctype="multipart/form-data">
        <div class="DivRightCenter">
            <div class="formtextfield">
                <div class="title">
                    <h4><span>表单模板编辑</span></h4>
                </div>
                <div class="content">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="fieldname">模板名称:
                            </td>
                            <td class="fieldvalue">
                                <asp:TextBox ID="txtTemplateName" runat="server" Width="288" MaxLength="25" CssClass="text form-validate" />
                                <asp:CustomValidator ControlToValidate="txtTemplateName" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                            </td>
                            <td class="fielddescription"></td>
                        </tr>
                        <tr>
                            <td class="fieldname">模板别名:
                            </td>
                            <td class="fieldvalue">
                                <asp:TextBox ID="txtAliasName" runat="server" Width="288" MaxLength="20" CssClass="text form-validate" />
                                <asp:CustomValidator ControlToValidate="txtAliasName" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                            </td>
                            <td class="fielddescription">只能为字母,长度为1到20个字符(不允许再次修改)</td>
                        </tr>
                        <tr>
                            <td class="fieldname">备注:
                            </td>
                            <td class="fieldvalue">
                                <asp:TextBox ID="txtRemark" runat="server" Width="288" Height="100" MaxLength="100" TextMode="MultiLine" />
                            </td>
                            <td class="fielddescription"></td>
                        </tr>
                    </table>
                </div>
            </div>
            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="保存" SkinID="ButtonSave" OnClick="btnSave_Click" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" SkinID="ButtonCancel" CausesValidation="false" OnClick="Cancel_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
