X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/561f2f694adc8ac57011eac1eec5929425276c59..e01df312b8fee6f67bf84b4c8293b57789b6fe2c:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 488966491..2782fc808 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -1,4 +1,11 @@ -
<%= t 'user.account.image' %> | -
- <% if @user.image.file? %>
-
<%= f.file_field :image %> <%= t 'user.account.image size hint' %> - <% end %> + |
+ <%= user_image @user %>
+
|
@@ -113,10 +130,13 @@
<%= t 'user.account.update home location on click' %> checked="checked" <% end %> id="updatehome" /> - + <% content_for :head do %> + <%= javascript_include_tag "user" %> + <% end %> + <%= content_tag "div", "", :id => "map", :class => "content_map settings_map set_location" %> |
-
+
<%= submit_tag t('user.account.save changes button') %> | @@ -124,16 +144,9 @@