Advertisement
Guest User

Untitled

a guest
May 1st, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <h2>Sign up</h2>
  2.  
  3. <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
  4. <%= devise_error_messages! %>
  5.  
  6. <div class="field">
  7. <%= f.label :email %><br />
  8. <%= f.email_field :email, autofocus: true %>
  9. </div>
  10.  
  11. <div class="field">
  12. <%= f.label :name %><br />
  13. <%= f.text_field :name %>
  14. </div>
  15.  
  16. <div class="field">
  17. <%= f.label :tel %><br />
  18. <%= text_field :tel, :first %>
  19. -
  20. <%= text_field :tel, :center %>
  21. -
  22. <%= text_field :tel, :last %>
  23. </div>
  24.  
  25. <div class="field">
  26. <%= f.label :password %>
  27. <% if @minimum_password_length %>
  28. <em>(<%= @minimum_password_length %> characters minimum)</em>
  29. <% end %><br />
  30. <%= f.password_field :password, autocomplete: "off" %>
  31. </div>
  32.  
  33. <div class="field">
  34. <%= f.label :password_confirmation %><br />
  35. <%= f.password_field :password_confirmation, autocomplete: "off" %>
  36. </div>
  37.  
  38. <div class="actions">
  39. <%= f.submit "Sign up" %>
  40. </div>
  41. <% end %>
  42.  
  43. <%= render "users/shared/links" %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement