Guest User

Untitled

a guest
Jan 16th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. @Html.PasswordFor(m=>m.Password)
  2.  
  3. <%= Html.Password("Password") %>
  4.  
  5. <input name="password" type="password" />
  6.  
  7. <input type="password" name="xx" id="yy">
  8.  
  9. @Html.Password(name, value, html_attributes)
  10.  
  11. @Html.PasswordFor(model=>model.Password)
  12.  
  13. @Html.PasswordFor(model => model.Password, new { @class = "form-control" })
  14.  
  15. @Html.TextBox("mypass", null, new { style = "width: 200px;" })
  16.  
  17. @Html.Password("mypass", null, new { style = "width:200px;" })
  18.  
  19. <div class="editor-field">
  20. @Html.PasswordFor(model => model.Password, new { htmlAttributes = new { @class = "form-control", placeholder = "Password" } })
  21. @Html.ValidationMessageFor(model => model.Password)
  22. </div>
  23.  
  24. @Html.EditorFor(model => model.Password,
  25. "Password",
  26. new { htmlAttributes = new { @class = "form-control" } })
  27.  
  28. @Html.PasswordFor(modal => modal.Password)
Add Comment
Please, Sign In to add comment