app/views/cms/fortress/users/sessions/new.html.haml in cms-fortress-1.1.8 vs app/views/cms/fortress/users/sessions/new.html.haml in cms-fortress-1.2.0
- old
+ new
@@ -1,11 +1,15 @@
= render :partial => 'cms/fortress/shared/navbar'
-= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => "form-signin" }) do |f|
- %h3.form-signin-heading Sign in
- = f.email_field :email, :autofocus => true, :placeholder => "Email address", :class => "input-block-level"
- = f.password_field :password, :placeholder => "Password", :class => "input-block-level"
+= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:role => "form", :class => "form-signin" }) do |f|
+ %h3.form-signin-heading Sign In
+ .form-group
+ = f.email_field :email, :autofocus => true, :placeholder => "Email Address", :class => "form-control"
+ .form-group
+ = f.password_field :password, :placeholder => "Password", :class => "form-control"
+
- if devise_mapping.rememberable?
- %label.checkbox
- = f.check_box :remember_me
- Remember me
- = f.submit "Sign in", :class => "btn btn-primary"
+ .checkbox
+ %label.checkbox
+ = f.check_box :remember_me
+ Remember me
+ = f.submit "Sign in", :class => "btn btn-primary btn-md"
= render "devise/shared/links"