<div class="login-box">
  <div class="login-logo">
    <a href="/ps_admin"><b>Admin</b>P-S</a>
  </div>
  <!-- /.login-logo -->
  <div class="login-box-body">
    <p class="login-box-msg">Zaloguj się by rozpocząć</p>

<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
      <div class="input-group has-feedback">
        <span class="input-group-addon"><i class="fa fa-envelope"></i></span>
        <%= f.email_field :email, autofocus: true, autocomplete: "email", class: 'form-control', placeholder: 'Email' %>

      </div>
      <div class="input-group has-feedback">
        <span class="input-group-addon"><i class="fa fa-key"></i></span>
        <%= f.password_field :password, autocomplete: "off", class: 'form-control', placeholder: 'Hasło' %>
      </div>
      <div class="row">
        <div class="col-xs-8">
        </div>
        <!-- /.col -->
        <div class="col-xs-4">
          <%= f.submit "Zaloguj", class: 'btn btn-primary btn-block btn-flat' %>
        </div>
        <!-- /.col -->
      </div>
    <% end %>

  </div>
  <!-- /.login-box-body -->
</div>
