]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/new.html.erb
Merge remote-tracking branch 'upstream/pull/3300'
[rails.git] / app / views / users / new.html.erb
index 7f640c708622d2a64de87cb0993078c93776d1d0..a94d4a812afdd8b0ed28e1bc87b69b67d41e8cfc 100644 (file)
@@ -2,9 +2,11 @@
   <%= javascript_include_tag "user" %>
 <% end %>
 
+<% content_for :heading_class, "pb-0" %>
 <% content_for :heading do %>
-  <h1><%= t ".title" %></h1>
-  <div class='header-illustration new-user-main'></div>
+  <div class='header-illustration new-user-main'>
+    <h1><%= t ".title" %></h1>
+  </div>
   <div class='header-illustration new-user-arm'></div>
 <% end %>
 
@@ -26,7 +28,7 @@
       <fieldset class="form-group" id="auth_field">
         <label for="user_auth_provider"><%= t(".external auth") %></label>
         <div class="form-row">
-          <%= f.select(:auth_provider, Auth.providers, :default => "", :hide_label => "true", :wrapper => { :class => "col-auto mb-0" }, :tabindex => 4) %>
+          <%= f.select(:auth_provider, Auth.providers, :default => "", :hide_label => true, :wrapper => { :class => "col-auto mb-0" }, :tabindex => 4) %>
           <%= f.text_field(:auth_uid, :hide_label => true, :wrapper => { :class => "col mb-0" }, :tabindex => 5) %>
         </div>
         <small class="form-text text-muted"><%= t ".auth no password" %></small>