Advertisement
Guest User

Untitled

a guest
May 25th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. <div class="panel-body">
  2. <%= form_for resource, as: resource_name, url: registration_path(resource_name), layout: :horizontal do |f| %>
  3. <!-- = devise_error_messages!
  4. -->
  5. <div><%= f.label :first_name %><br />
  6. <%= f.text_field :first_name, autofocus: true %></div>
  7.  
  8. <div><%= f.label :last_name %><br />
  9. <%= f.text_field :last_name, autofocus: true %></div>
  10.  
  11. <div><%= f.label :gender %><br />
  12. <%= f.text_field :gender, autofocus: true %></div>
  13.  
  14. <div><%= f.label :age_range %><br />
  15. <%= f.text_field :age_range, autofocus: true %></div>
  16.  
  17.  
  18. <%= f.email_field :email, autofocus: true %>
  19. <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
  20. <p>
  21. Currently waiting confirmation for:
  22. <%= resource.unconfirmed_email %>
  23. </p>
  24. <% end %>
  25. <%= f.password_field :current_password %>
  26. <%= f.password_field :password, autocomplete: "off" %>
  27. <%= f.password_field :password_confirmation, autocomplete: "off" %>
  28.  
  29.  
  30.  
  31. <%= f.submit "Update" %>
  32. <% end %>
  33. </div>
  34. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement