Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="panel-body">
- <%= form_for resource, as: resource_name, url: registration_path(resource_name), layout: :horizontal do |f| %>
- <!-- = devise_error_messages!
- -->
- <div><%= f.label :first_name %><br />
- <%= f.text_field :first_name, autofocus: true %></div>
- <div><%= f.label :last_name %><br />
- <%= f.text_field :last_name, autofocus: true %></div>
- <div><%= f.label :gender %><br />
- <%= f.text_field :gender, autofocus: true %></div>
- <div><%= f.label :age_range %><br />
- <%= f.text_field :age_range, autofocus: true %></div>
- <%= f.email_field :email, autofocus: true %>
- <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
- <p>
- Currently waiting confirmation for:
- <%= resource.unconfirmed_email %>
- </p>
- <% end %>
- <%= f.password_field :current_password %>
- <%= f.password_field :password, autocomplete: "off" %>
- <%= f.password_field :password_confirmation, autocomplete: "off" %>
- <%= f.submit "Update" %>
- <% end %>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement