<%= form_for(:user, :url => edit_user_registration_path, :html => {:id => "edit_profile_form", :method => "get"}) do |f| %> <%= f.submit "Edit profile", :id => "edit_profile_form_submit" %> <% end %>