<h2><%= t('.sign_in', default: 'Sign in') %></h2>

<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
  <div>
    <%= f.label :email %><br />
    <%= f.email_field :email, autofocus: true %>
  </div>

  <div>
    <%= f.label :password %><br />
    <%= f.password_field :password %>
  </div>

  <% if devise_mapping.rememberable? -%>
    <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
  <% end -%>

  <div><%= f.submit t('.sign_in', default: 'Sign in') %></div>
<% end %>

<%= render 'devise/shared/links' %>

<h2><%= t('.sign_in', default: 'Sign in') %></h2>

<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
  <div class="form-inputs">
    <%= f.input :email, autofocus: true, required: true %>
    <%= f.input :password, required: true %>
    <%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, t('.sign_in', default: 'Sign in') %>
  </div>
<% end %>

<%= render 'devise/shared/links' %>

Make bootstrap 3 compatible login view
Make bootstrap 3 compatible login view
