X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9a3ef885bb72adbde0b968ce67135b8f7b257f35..c55490d24ed176eebfa88a0a655462cd0b3b0d85:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index e4fa87cc1..6f5191fbe 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -1,6 +1,6 @@
<%= t 'user.new.display name' %> | <%= f.text_field :display_name %> | |||||||
<%= t 'user.account.current email address' %> | <%= @user.email %> <%= t 'user.account.email never displayed publicly' %> | |||||||
<%= t 'user.account.preferred languages' %> | <%= f.text_field :languages %> | |||||||
+ <%= t 'user.account.image' %> + | +
+ <% if @user.image.nil? %>
+ <%= hidden_field_tag "image_action", "new" %>
+ <%= t 'user.account.new image' %> <%= file_column_field "user", "image" %> + <% else %> +
|
+ |||||||
<%= t 'user.account.home location' %> | <%= t 'user.account.no home location' %><%= t 'user.account.latitude' %> <%= f.text_field :home_lat, :size => 20, :id => "home_lat" %><%= t 'user.account.longitude' %><%= f.text_field :home_lon, :size => 20, :id => "home_lon" %> | |||||||