X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/28b00b85da663c161803897f6a54550597ed82c1..b0c17047a12eca962fa02146e2a3a70b9bcc916e:/app/views/profiles/edit.html.erb?ds=sidebyside diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb index bf53832c8..d755be52c 100644 --- a/app/views/profiles/edit.html.erb +++ b/app/views/profiles/edit.html.erb @@ -44,8 +44,8 @@ <%= t ".home location" -%>

<%= 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" %> + <%= 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" %>
@@ -56,9 +56,9 @@ checked <% end %> id="updatehome" />
- <%= tag.div "", :id => "map", :class => "content_map set_location border border-grey rounded" %> + <%= tag.div "", :id => "map", :class => "content_map set_location border border-secondary-subtle rounded" %> <%= 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 %>