X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/63ca466f24c08d396f323f3d209509e10a8f185c..d57755b737cbb38a590b0e017a4b5c6c661aea62:/app/views/user/account.html.erb?ds=inline diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index fbc1487bb..6745f1b34 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -1,4 +1,8 @@
<%= t 'user.account.profile description' %> | -<%= f.text_area :description, :rows => '5', :cols => '60' %> | +<%= richtext_area :user, :description, :rows => '15', :cols => '80' %> | |||||
- <% if @user.image.nil? %>
- <%= hidden_field_tag "image_action", "new" %>
- <%= t 'user.account.new image' %> <%= file_column_field "user", "image" %> <%= t 'user.account.image size hint' %> - <% else %> + <% if @user.image.file? %>
<%= f.file_field :image %> <%= t 'user.account.image size hint' %> <% end %> |
<%= 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" %> |
@@ -124,16 +131,9 @@