Sha256: 4769bdefbca27805cc79f9659500da2046b7f01b12a593318f8a27a0807ac67a

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

<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 class: "d-grid" do %>
  <%= f.submit "Log in", class: "btn btn-primary btn-lg" %>
<% end %>
<% end %>
<div class="text-center">
  <%= render "devise/shared/links" %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise-bootstrap-form-1.0.0.alpha.pre.1 app/views/devise/sessions/new.html.erb