@{
    Layout = null;
}
@model RST.Framework.Web.Shell.Areas.Hybrid.Models.Reg

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
     <script type="text/javascript" src="../../Scripts/jquery-1.7.2.min.js"></script>
     <script type="text/javascript" src="../../Scripts/jquery.maskedinput-1.3.min.js"></script>
     <script type="text/javascript">
         $(document).ready(
         function () {
             $(".fix-five").mask("*****", { placeholder: "_" })
         }
         );
     </script>
</head>
<body>
    <div>
        <form method="post" action="index">
		    @Html.ValidationSummary(true, "提交失败. 请处理错误后重试.")
            @Html.ValidationMessageFor(m => m.SerialNumberSegment1)
            @Html.ValidationMessageFor(m => m.SerialNumberSegment2)
            @Html.ValidationMessageFor(m => m.SerialNumberSegment3)
            @Html.ValidationMessageFor(m => m.SerialNumberSegment4)
            <fieldset>
                <legend>软件注册</legend>
				    <div >
					    <div>
                            <span>序列号：</span>
                            <span>
                            @Html.TextBoxFor(m => m.SerialNumberSegment1, new { Class = "fix-five" })
                            </span>
                            <span>-</span>
                            <span>
                            @Html.TextBoxFor(m => m.SerialNumberSegment2, new { Class = "fix-five" })
                            </span>
                            <span>-</span>
                            <span>
                            @Html.TextBoxFor(m => m.SerialNumberSegment3, new { Class = "fix-five" })
                            </span>
                            <span>-</span>
                            <span>
                            @Html.TextBoxFor(m => m.SerialNumberSegment4, new { Class = "fix-five" })
                            </span>
					    </div>
					    <div>
						    <input type="submit" value="保存"/>
						    <a class="button" href="../shell/index">取消</a>
					    </div>
				    </div>
            </fieldset>
        </form>
    </div>
</body>
</html>
