X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/561f2f694adc8ac57011eac1eec5929425276c59..43bfebdd9e83685cbc999f46a3a88e85f9960cbc:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 488966491..179e1b2f6 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -1,4 +1,8 @@
<%= t 'user.account.image' %> | -
- <% if @user.image.file? %>
-
<%= f.file_field :image %> <%= t 'user.account.image size hint' %> - <% end %> + |
+ <%= user_image @user %>
+
|
@@ -113,10 +127,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 => "user_map set_location" %> |
-
+
<%= submit_tag t('user.account.save changes button') %> | @@ -124,16 +141,9 @@