]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/login.html.erb
Use an unstyled list for the login buttons
[rails.git] / app / views / users / login.html.erb
index b10a2b291f251fbd3d88e270e6be69e019e3628f..ac61d7df7bbb02c9b79f80d1b0a41bb7f7672768 100644 (file)
     <div id="loginForm" class="standard-form">
 
       <fieldset>
-        <div class="form-row">
+        <div class="standard-form-row">
           <label for="username" class="standard-label">
             <%= t ".email or username" %>
           </label>
           <%= text_field_tag "username", params[:username], :tabindex => 1 %>
         </div>
-        <div class="form-row">
+        <div class="standard-form-row">
           <label for="password" class="standard-label">
             <%= t ".password" %>
           </label>
@@ -51,7 +51,7 @@
 
         <p class='standard-label'><%= t ".with external" %></p>
 
-        <ul class='clearfix' id="login_auth_buttons">
+        <ul class='list-unstyled' id="login_auth_buttons">
           <li><%= link_to image_tag("openid.png", :alt => t(".auth_providers.openid.title")), "#", :id => "openid_open_url", :title => t(".auth_providers.openid.title") %></li>
           <% if Settings.key?(:google_auth_id) -%>
           <li><%= auth_button "google", "google" %></li>
@@ -73,7 +73,7 @@
           <li><%= auth_button "aol", "openid", :openid_url => "aol.com" %></li>
         </ul>
 
-        <div id='login_openid_url' class='form-row'>
+        <div id='login_openid_url' class='standard-form-row'>
           <label for='openid_url' class="standard-label"><%= t ".openid_html", :logo => openid_logo %></label>
           <%= hidden_field_tag("openid_referer", params[:referer]) if params[:referer] %>
           <%= text_field_tag("openid_url", "", :tabindex => 3, :class => "openid_url") %>