Sha256: 113d3a511b3b82f7e8a563350c1941115d89974341573e836ec152944ab8448f

Contents?: true

Size: 974 Bytes

Versions: 10

Compression:

Stored size: 974 Bytes

Contents

<div class="row">
  <div class="col-lg-4 offset-lg-4">
    <h1 class="text-center">Log in</h1>

    <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
      <div class="mb-3">
        <%= f.email_field :email, autofocus: true, placeholder: 'Email Address', class: 'form-control' %>
      </div>

      <div class="mb-3">
        <%= f.password_field :password, autocomplete: "off", placeholder: 'Password', class: 'form-control' %>
      </div>

      <% if devise_mapping.rememberable? -%>
        <div class="form-check">
          <label class="form-check-label">
            <%= f.check_box :remember_me, class: "form-check-input" %>
            Remember me
          </label>
        </div>
      <% end -%>

      <div class="mb-3 d-grid">
        <%= f.submit "Log in", class: "btn btn-primary btn-lg" %>
      </div>
    <% end %>

    <div class="text-center">
      <%= render "devise/shared/links" %>
    </div>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_app-0.9.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.8.1 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.8.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.7.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.6.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.5.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.4.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.3.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.2.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb
rails_app-0.1.0 lib/rails_app/template/app_bootstrap/views/devise/sessions/new.html.erb