Sha256: 9bdbd9beb8499379c362ff8a57a87aaaed346c6603169b6a5d8adc06ca6af292

Contents?: true

Size: 690 Bytes

Versions: 10

Compression:

Stored size: 690 Bytes

Contents

.row
  .col-lg-4.col-md-6.ml-auto.mr-auto
<%- if options[:metatags] %>
    %h2.text-center= title("Log in")
<% else -%>
    %h2.text-center Log in
<%- end %>
    = simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
      .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?
      .form-group
        = f.button :submit, 'Log in', class: 'btn btn-primary btn-block btn-lg'
    .text-center
      = render "devise/shared/links"

Version data entries

10 entries across 10 versions & 1 rubygems

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