视图: 用户注册,需要输入密码,并且要确认密码
<div class="editor-label">
密码:
</div>
<div class="editor-field">
@Html.PasswordFor(model => model.Password)
@Html.ValidationMessageFor(model => model.Password)
</div>
<div class="editor-label">
确认密码:
</div>
<div class="editor-field">
@Html.PasswordFor(model => model.RepPassword)
@Html.ValidationMessageFor(model => model.RepPassword)
</div>
|