Sha256: 07bb7bb754eba1d6d604e84507b4457c9038e5087c255b4979bda4f0cb40f51e

Contents?: true

Size: 841 Bytes

Versions: 4

Compression:

Stored size: 841 Bytes

Contents

<div class="devise-bootstrap-form">
  <div class="devise-bootstrap-form-row">
    <div class="devise-bootstrap-form-col">
      <h2 class="text-center">Log in</h2>
      <%= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
      <%= f.email_field :email, autofocus: true, autocomplete: "email" %>
      <%= f.password_field :password, autocomplete: "current-password", placeholder: 'Password' %>

      <% if devise_mapping.rememberable? -%>
        <%= f.form_group do %>
        <%= f.check_box :remember_me %>
      <% end %>
      <% end -%>

      <%= f.form_group do %>
      <%= f.submit "Log in", class: "btn btn-primary btn-block btn-lg" %>
      <% end %>
      <% end %>
      <div class="text-center">
        <%= render "devise/shared/links" %>
      </div>
    </div>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise-bootstrap-form-0.4.0 app/views/devise/sessions/new.html.erb
devise-bootstrap-form-0.3.0 app/views/devise/sessions/new.html.erb
devise-bootstrap-form-0.2.0 app/views/devise/sessions/new.html.erb
devise-bootstrap-form-0.1.0 app/views/devise/sessions/new.html.erb