X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f0dccab3419f1b5e87bc51aa9c581fad90b3f0fb..732e1ab03a3b0f003dd8dc10e505d8d952fa18b9:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index d8a63bde6..47a84e99b 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -1,5 +1,9 @@ +<% content_for :head do %> + <%= javascript_include_tag "user" %> +<% end %> + <% content_for :heading do %> -

<%= t 'user.account.my settings' %>

+

<%= t 'user.account.my settings' %>

-
-

<%= t 'user.account.home location' %>

-
class="nohome"<%end%> > -

<%= t 'user.account.no home location' %>

-
- - <%= f.text_field :home_lat, :id => "home_lat" %> - - <%= f.text_field :home_lon, :id => "home_lon" %> +
+
+ +
class="nohome"<%end%> > +

<%= t 'user.account.no home location' %>

+
+ + <%= f.text_field :home_lat, :id => "home_lat" %> +
+
+ + <%= f.text_field :home_lon, :id => "home_lon" %> +
+
-
-
-

<%= t 'user.account.update home location on click' %> checked="checked" <% end %> id="updatehome" />

- <% content_for :head do %> - <%= javascript_include_tag "user" %> - <% end %> +
+ checked="checked" <% end %> id="updatehome" /> + +
<%= content_tag "div", "", :id => "map", :class => "content_map settings_map set_location" %> -
-
+ <%= submit_tag t('user.account.save changes button') %> <% end %>