Sha256: 65fc2d604c2081f4017c15873c9c88a73172c141b188d99aa25a1e7cec152b6b

Contents?: true

Size: 860 Bytes

Versions: 3

Compression:

Stored size: 860 Bytes

Contents

<div class="devise-bootstrap-form">
  <div class="devise-bootstrap-form-row">
    <div class="devise-bootstrap-form-col">
      <h2 class="text-center"><%= t('.sign_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 t('.sign_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

3 entries across 3 versions & 1 rubygems

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