Guest User

Untitled

a guest
Jun 19th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Mvc.Mobile.Template.Models.RegisterModel>" %>
  2.  
  3. <asp:Content ID="registerTitle" ContentPlaceHolderID="TitleContent" runat="server">
  4. Register
  5. </asp:Content>
  6.  
  7. <asp:Content ID="registerContent" ContentPlaceHolderID="MainContent" runat="server">
  8. <div data-role="page">
  9. <div data-role="header">
  10. <h1>Register</h1>
  11. <a href="<%=Url.Action("Index", "Home")%>" data-icon="grid" class="ui-btn-right">Home</a>
  12. </div>
  13. <div data-role="content">
  14. <p>Passwords are required to be a minimum of <%: View.PasswordLength %> characters in length.</p>
  15. <% using (Html.BeginForm()) { %>
  16. <div data-role="fieldcontain">
  17. <%: Html.LabelFor(m => m.UserName) %>
  18. <%: Html.TextBoxFor(m => m.UserName) %>
  19. <div>
  20. <%: Html.ValidationMessageFor(m => m.UserName) %>
  21. </div>
  22. </div>
  23.  
  24. <div data-role="fieldcontain">
  25. <%: Html.LabelFor(m => m.Email) %>
  26. <%: Html.TextBoxFor(m => m.Email) %>
  27. <div>
  28. <%: Html.ValidationMessageFor(m => m.Email) %>
  29. </div>
  30. </div>
  31.  
  32. <div data-role="fieldcontain">
  33. <%: Html.LabelFor(m => m.Password) %>
  34. <%: Html.PasswordFor(m => m.Password) %>
  35. <div>
  36. <%: Html.ValidationMessageFor(m => m.Password) %>
  37. </div>
  38. </div>
  39.  
  40. <div data-role="fieldcontain">
  41. <%: Html.LabelFor(m => m.ConfirmPassword) %>
  42. <%: Html.PasswordFor(m => m.ConfirmPassword) %>
  43. <div>
  44. <%: Html.ValidationMessageFor(m => m.ConfirmPassword) %>
  45. </div>
  46. </div>
  47.  
  48. <input type="submit" value="Register" data-theme="b" />
  49. <%} %>
  50. </div>
  51. </div>
  52. </asp:Content>
Add Comment
Please, Sign In to add comment