Permalink
Browse files

Login page css fix

  • Loading branch information...
1 parent 6d80d81 commit 880d7981c17d5cc73beaff71cffc4f16908c0f92 @ArturG ArturG committed Mar 21, 2013
Showing with 13 additions and 12 deletions.
  1. +2 −4 app/assets/stylesheets/application.css.scss
  2. +11 −8 app/views/citizens/sessions/new.html.erb
@@ -78,7 +78,6 @@ footer > a:visited {
text-decoration: none;
}
-
.inputs > .input > input {
width: 100%;
}
@@ -565,9 +564,8 @@ top_proposals h2 {
}
.forget-password {
- position: absolute;
- float: left;
- margin-left: 0.5%;
+ margin-top: 15px;
+ margin-bottom: 15px;
}
.idea-heading-link {
@@ -22,15 +22,18 @@
</div>
<% if devise_mapping.rememberable? -%>
- <div class="input checkbox">
- <%= f.check_box :remember_me %> <%= f.label :remember_me, t('.remember_me') %>
+ <div class="input_checkbox">
+ <%= f.label :remember_me, t('.remember_me') %>
+ <%= f.check_box :remember_me %>
</div>
<% end -%>
- <div class='forget-password'>
- <%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
- <%= link_to "Unohditko salasanasi?", new_password_path(resource_name) %>
- <% end -%>
- </div>
+
+ <%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
+ <div class='forget-password'>
+ <%= link_to "Unohditko salasanasi?", new_password_path(resource_name) %>
+ </div>
+ <% end -%>
+
+ <%= f.submit t('.login_button'), :class => "login_button" %>
</div>
- <div class="actions grid_16"><%= f.submit t('.login_button') %></div>
<% end %>

0 comments on commit 880d798

Please sign in to comment.