X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f73ec4536f9c331dbb912d93a3d55d3a806e7a8e..aa52ebe6749ba1ea43030f173bfe2101d0f77dc3:/app/views/user/account.rhtml diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml index bbede9fed..eafa2d5f4 100644 --- a/app/views/user/account.rhtml +++ b/app/views/user/account.rhtml @@ -1,6 +1,6 @@

User details

<%= error_messages_for 'user' %> -<%= start_form_tag :controller => 'user', :action => 'edit', :display_name => @user.display_name %> +<% form_tag :controller => 'user', :action => 'edit', :display_name => @user.display_name do %> @@ -18,7 +18,7 @@
Name<%= @user.email %>
Mapper since<%= @user.creation_time %> (<%= time_ago_in_words(@user.creation_time) %> ago)
Description<%= text_area :user, :description, :value => @user.description, :class => "editDescription" %>
<%= submit_tag 'Save Changes' %> -<%= end_form_tag %> +<% end %> <% nearest_str = "" %> <% if @user.home_lat and @user.home_lon %> @@ -213,7 +213,7 @@ window.onload = init; <% else %> Currently your edits are anonymous and people can't find out where you are located. To show what you edited and allow people to contact you through the website, click the button below. This action cannot be reversed.

- <%= start_form_tag :controller => 'user', :action => 'go_public'%> + <% form_tag :controller => 'user', :action => 'go_public' do %> <%= submit_tag 'Make all my edits public, forever' %> - <%= end_form_tag %> + <% end %> <% end %>