X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/caf2e2a242182f2c0dac78fc3f2f39b3fbbc8299..8c0f5752809f7a21aa62babc05f35a8f881d2141:/app/views/profiles/edit.html.erb diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb index 8eca6f4f7..ac76b4d2d 100644 --- a/app/views/profiles/edit.html.erb +++ b/app/views/profiles/edit.html.erb @@ -9,9 +9,9 @@ <%= bootstrap_form_for current_user, :url => { :action => :update }, :html => { :multipart => true, :autocomplete => :off } do |f| %> <%= f.richtext_field :description, :cols => 80, :rows => 20 %> -
+
<%= f.label t(".image") %> -
+
<%= user_image current_user %>
@@ -42,20 +42,23 @@
<%= t ".home location" -%> -
class="nohome"<% end %>> -

<%= t ".no home location" %>

-
- <%= f.text_field :home_lat, :wrapper_class => "col-sm-4", :id => "home_lat" %> - <%= f.text_field :home_lon, :wrapper_class => "col-sm-4", :id => "home_lon" %> +

<%= t ".no home location" %>

+
+ <%= f.text_field :home_lat, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "home_lat" %> + <%= f.text_field :home_lon, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "home_lon" %> +
+ + +
- checked="checked" <% end %> id="updatehome" /> + checked <% end %> id="updatehome" />
- <%= tag.div "", :id => "map", :class => "content_map set_location" %> + <%= tag.div "", :id => "map", :class => "content_map set_location border border-secondary-subtle rounded z-0" %>
<%= f.primary t(".save") %> - <%= link_to t(".cancel"), user_path(current_user), :class => "btn btn-link" %> + <%= link_to t(".cancel"), current_user, :class => "btn btn-link" %> <% end %>