Drupal User Login Block


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <div id="block-user-0" class="block block-user">
  2. <h2>
  3. User login
  4. </h2>
  5. <div class="content">
  6. <form action="/node?destination=node" accept-charset=
  7. "UTF-8" method="post" id="user-login-form">
  8. <div>
  9. <div class="form-item" id="edit-name-wrapper">
  10. <label for="edit-name">Username: <span class=
  11. "form-required" title=
  12. "This field is required.">*</span></label>
  13.  
  14. <input maxlength="60" name="name" id=
  15. "edit-name" size="15" value="" class=
  16. "form-text required" type="text" />
  17. </div>
  18. <div class="form-item" id="edit-pass-wrapper">
  19. <label for="edit-pass">Password: <span class=
  20. "form-required" title=
  21. "This field is required.">*</span></label>
  22. <input style=
  23. "font-weight: 500; font-style: normal; color: rgb(192, 192, 192);"
  24. name="pass" id="edit-pass" maxlength="60" size=
  25. "15" class="form-text required" type=
  26. "password" />
  27. </div><input name="op" id="edit-submit" value=
  28. "Log in" class="form-submit" type="submit" />
  29. <div class="item-list">
  30. <ul>
  31.  
  32. <li class="first">
  33. <a href="/user/register" title=
  34. "Create a new user account.">Create new
  35. account</a>
  36. </li>
  37. <li class="last">
  38. <a href="/user/password" title=
  39. "Request new password via e-mail.">Request
  40. new password</a>
  41. </li>
  42. </ul>
  43. </div><input name="form_build_id" id=
  44. "form-a537122b9b9c867fb8cc8d8577e93ccb" value=
  45. "form-a537122b9b9c867fb8cc8d8577e93ccb" type=
  46. "hidden" /><input name="form_id" id=
  47. "edit-user-login-block" value="user_login_block"
  48. type="hidden" />
  49.  
  50. </div>
  51. </form>
  52. </div>
  53. </div>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.