 <div class="content">

<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
    <div class="col-md-3"></div>
    <div class="col-md-6" >
        <h4>Log in</h4>
        <div class ="form-group" >
          <%= f.label :email %><br />
          <%= f.email_field :email, autofocus: true ,:class =>"form-control" %>
        </div>
        <div class ="form-group" >
          <%= f.label :password %><br />
          <%= f.password_field :password, autocomplete: "off" ,:class=>"form-control" %>
        </div>
        <% if devise_mapping.rememberable? -%>
          <div class ="form-group" >
            <%= f.check_box :remember_me %>
            <%= f.label :remember_me %>
          </div>
        <% end -%>
        <div class="actions">
          <%= f.submit "Log in" ,:class=> "btn btn-lg btn-primary btn-block"%>
        </div>
        <%= render "devise/shared/links" %>
    </div>
<% end %>
</div>
 
