Sha256: 59176d4953c8f53a58948a5159c61d6b56ea7e0d5ac4e1ab98c428678f91c8e4

Contents?: true

Size: 904 Bytes

Versions: 14

Compression:

Stored size: 904 Bytes

Contents

<div class="row">
  <div class="col-lg-4 col-md-6 ml-auto mr-auto">
    <%- if options[:metatags] %>
    <h2 class="text-center"><%%= title('Log In') %></h2>
    <% else -%>
    <h2 class="text-center">Log in</h2>
    <%- end %>
    <%%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
      <div class="form-group">
        <%%= f.input :email, required: false, autofocus: true, input_html: { autocomplete: 'email' } %>
        <%%= f.input :password, required: false, input_html: { autocomplete: 'current-password' } %>
        <%%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
      </div>
      <div class="form-group">
        <%%= f.button :submit, 'Log in', class: 'btn btn-primary btn-block btn-lg' %>
      </div>
    <%% end %>
    <div class="text-center">
      <%%= render 'devise/shared/links' %>
    </div>
  </div>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bootstrap_views_generator-0.1.16 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.15 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.14 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.13 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.11 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.10 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.9 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.8 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.7 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.6 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.5 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.4 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt
bootstrap_views_generator-0.1.3 lib/generators/bootstrap/templates/devise/simple_form/erb/sessions/new.html.erb.tt