@model RegisterInput
@{ ViewData["Title"] = "开始记录"; }
<section class="auth-panel panel"><span class="eyebrow">MAKE ROOM FOR YOURSELF</span><h1>从今天开始。</h1><p class="muted">每一种感受,都可以在这里留下。</p>
<form asp-action="Register" method="post" class="stack-form"><div asp-validation-summary="All" class="validation-errors"></div>
<label>怎么称呼你<input asp-for="DisplayName" required maxlength="40" autocomplete="nickname" /></label>
<label>邮箱<input asp-for="Email" type="email" required autocomplete="username" /></label>
<label>密码<input asp-for="Password" type="password" required minlength="10" maxlength="128" autocomplete="new-password" /><small>至少 10 位,包含大小写字母、数字和符号。</small></label>
<label>确认密码<input asp-for="ConfirmPassword" type="password" required autocomplete="new-password" /></label>
<button type="submit" class="button primary">创建账号 →</button>
</form><p class="auth-switch">已经有账号?<a href="/Account/Login">登录</a></p>
</section>
@model RegisterInput
@{ ViewData["Title"] = "开始记录"; }
<section class="auth-panel panel"><span class="eyebrow">MAKE ROOM FOR YOURSELF</span><h1>从今天开始。</h1><p class="muted">每一种感受,都可以在这里留下。</p>
<form asp-action="Register" method="post" class="stack-form"><div asp-validation-summary="All" class="validation-errors"></div>
<label>怎么称呼你<input asp-for="DisplayName" required maxlength="40" autocomplete="nickname" /></label>
<label>邮箱<input asp-for="Email" type="email" required autocomplete="username" /></label>
<label>密码<input asp-for="Password" type="password" required minlength="10" maxlength="128" autocomplete="new-password" /><small>至少 10 位,包含大小写字母、数字和符号。</small></label>
<label>确认密码<input asp-for="ConfirmPassword" type="password" required autocomplete="new-password" /></label>
<button type="submit" class="button primary">创建账号 →</button>
</form><p class="auth-switch">已经有账号?<a href="/Account/Login">登录</a></p>
</section>