Skip to content
Browse files

some html changes

  • Loading branch information...
1 parent 1c9f63c commit d96573597ccd8055b479168d1dfb70a7cd92ceab @mhinton committed
View
7 app/assets/stylesheets/base.css.scss
@@ -55,3 +55,10 @@ footer {
background-color: #888888;
color: #eee;
}
+
+/*************************************
+ ** MISC
+*************************************/
+div.row div h2 { margin-bottom: 0.5em; }
+
+
View
6 app/views/devise/registrations/new.html.erb
@@ -1,4 +1,8 @@
-<h2 class="offset5">Sign up</h2>
+<div class="row">
+ <div class="offset6">
+ <h2>Sign up</h2>
+ </div>
+</div>
<div class="row">
<div class="offset5">
View
55 app/views/devise/sessions/new.html.erb
@@ -1,30 +1,39 @@
-<h2 class="offset5">Sign in</h2>
+<div class="row">
+ <div class="offset6">
+ <h2>Sign in</h2>
+ </div>
+</div>
+
<div class="row">
<div class="offset5">
-<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form-stacked'}) do |f| %>
- <div class="clearfix">
- <%= f.label :email %>
- <div class="input span5">
- <%= f.email_field :email %>
- </div>
- </div><br />
+ <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form-stacked'}) do |f| %>
+ <fieldset>
+ <div class="clearfix">
+ <%= f.label :email %>
+ <div class="input span5">
+ <%= f.email_field :email %>
+ </div>
+ </div><br />
- <div class="clearfix">
- <%= f.label :password %>
- <div class="input span5">
- <%= f.password_field :password %>
- </div>
- </div>
+ <div class="clearfix">
+ <%= f.label :password %>
+ <div class="input span5">
+ <%= f.password_field :password %>
+ </div>
+ </div>
- <% if devise_mapping.rememberable? -%>
- <div class="clearfix">
- <%= f.check_box :remember_me %>
- <%= f.label :remember_me, :style => "display: inline;" %>
- </div>
- <% end -%>
+ <% if devise_mapping.rememberable? -%>
+ <div class="clearfix">
+ <%= f.check_box :remember_me %>
+ <%= f.label :remember_me, :style => "display: inline;" %>
+ </div>
+ <% end -%>
- <div><%= f.submit "Sign in", :class => "btn primary" %></div>
-<% end %>
+ <div><%= f.submit "Sign in", :class => "btn primary" %></div>
+ </fieldset>
+ <% end %>
-<%= render :partial => "devise/shared/links" %>
+ <%= render :partial => "devise/shared/links" %>
+ </div>
+</div>

0 comments on commit d965735

Please sign in to comment.
Something went wrong with that request. Please try again.