Sha256: e0ed2983f736600b93f2a3f77fcfe88b4e27d5122fa6d5f9b125357b6bce7582

Contents?: true

Size: 845 Bytes

Versions: 4

Compression:

Stored size: 845 Bytes

Contents

.row
  .col-lg-4.col-md-6.ml-auto.mr-auto
    <%- if options[:metatags] %>
    %h2.text-center= title("Sign Up")
    <% else -%>
    %h2.text-center Sign Up
    <%- end %>
    = simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
      = f.error_notification
      .form-group
        = f.input :email, required: true, autofocus: true, input_html: { autocomplete: "email" }
        = f.input :password, required: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length), input_html: { autocomplete: "new-password" }
        = f.input :password_confirmation, required: true, input_html: { autocomplete: "new-password" }
      .form-group
        = f.button :submit, 'Sign up', class: 'btn btn-primary btn-block btn-lg'
    .text-center
      = render 'devise/shared/links'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bootstrap_views_generator-0.1.6 lib/generators/bootstrap/templates/devise/simple_form/haml/registrations/new.html.haml.tt
bootstrap_views_generator-0.1.5 lib/generators/bootstrap/templates/devise/simple_form/haml/registrations/new.html.haml.tt
bootstrap_views_generator-0.1.4 lib/generators/bootstrap/templates/devise/simple_form/haml/registrations/new.html.haml.tt
bootstrap_views_generator-0.1.3 lib/generators/bootstrap/templates/devise/simple_form/haml/registrations/new.html.haml.tt