<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <% if resource.errors.any? %>
Please fix the following errors:
<% end %>
<%= render partial: 'devise/registrations/panes/information', locals: { f: f } %>
<%= f.submit "Save changes", class: 'btn blue' %> <%= link_to "Cancel", :back, class: 'btn grey' %>
<% end %>