/AnotherStartup/Account/Confirm.cshtml
Razor | 21 lines | 19 code | 2 blank | 0 comment | 3 complexity | 95a52fc7974a5a2d7e5bc0e2c631f40a MD5 | raw file
- @{this.Init(layout: "~/_SiteLayout.cshtml", title: "Registration Confirmation Page", action: Account.Confirm.Init);}
-
-
- @if(Page.Confirmed) {
- <p>Registration Confirmed! Click on the Login tab to log in to the site.</p>
- }
- else if (@Page.Errors.ConfirmAccount.IsError) {
- <p class="validation-error">@Page.Errors.ConfirmAccount.Message</p>
- } else {
- <form method="post" action="">
- <fieldset>
- <legend>Confirmation Code</legend>
- <label for="confirmationCode">
- Please enter the confirmation code sent to you via email and
- then click the <em>Confirm</em> button.
- </label>
- <input type="text" id="confirmationCode" name="confirmationCode" title="Confirmation code" />
- <input type="submit" value="Confirm" title="Confirm registration" />
- </fieldset>
- </form>
- }