Merge pull request #3007 from floriank/fix/login-checkbox

Fix alignment for "Remember me" login checkbox
pull/3004/merge
Azure7111 10 years ago
commit 4d3a582603
  1. 2
      app/views/account/_login.html.erb

@ -40,7 +40,7 @@ See doc/COPYRIGHT.rdoc for more details.
</div>
<div class="form--field-extra-actions">
<% if Setting.autologin? %>
<label for="autologin"><%= styled_check_box_tag 'autologin', 1, false %> <%= l(:label_stay_logged_in) %></label>
<label class="form--label-with-check-box" for="autologin"><%= styled_check_box_tag 'autologin', 1, false %> <%= l(:label_stay_logged_in) %></label>
<% elsif Setting.self_registration? %>
<%# show here if autologin is disabled, otherwise below lost_password link %>
<%= link_to l(:label_register), { :controller => '/account', :action => 'register' } %>

Loading…
Cancel
Save