Advertisement
Guest User

Untitled

a guest
May 12th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. <asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
  2. <h2>Log On</h2>
  3. <p>
  4. Please enter your username and password. <%= Html.ActionLink("Register", "Register") %> if you don't have an account.
  5. </p>
  6. <%= Html.ValidationSummary("Login was unsuccessful. Please correct the errors and try again.") %>
  7.  
  8. <% using (Html.BeginForm()) { %>
  9. <div>
  10. <fieldset>
  11. <legend>Account Information</legend>
  12. <p>
  13. <label for="username">Username:</label>
  14. <%= Html.TextBox("username") %>
  15. <%= Html.ValidationMessage("username") %>
  16. </p>
  17. <p>
  18. <label for="password">Password:</label>
  19. <%= Html.Password("password") %>
  20. <%= Html.ValidationMessage("password") %>
  21. </p>
  22. <p>
  23. <%= Html.CheckBox("rememberMe") %> <label class="inline" for="rememberMe">Remember me?</label>
  24. </p>
  25. <p>
  26. <input type="submit" value="Log On" />
  27. </p>
  28. </fieldset>
  29. </div>
  30. <% } %>
  31. </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement