PageRenderTime 43ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/AnotherStartup/Account/Confirm.cshtml

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