Sha256: 41f969ef27876c07b8541ee82aeb4c7f54971f3e5e82df60717dc63b9e864836

Contents?: true

Size: 1.1 KB

Versions: 14

Compression:

Stored size: 1.1 KB

Contents

<div class="row">
  <div class="col-lg-4 col-md-6 ml-auto mr-auto">
    <%- if options[:metatags] %>
    <h2 class="text-center"><%%= title('Sign Up') %></h2>
    <% else -%>
    <h2 class="text-center">Sign Up</h2>
    <%- end %>

    <%%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
      <%%= render 'devise/shared/error_messages', resource: resource %>
      <div class="form-group">
        <%%= f.email_field :email, autofocus: false, class: 'form-control', placeholder: 'Email Address' %>
      </div>
      <div class="form-group">
        <%%= f.password_field :password, autocomplete: 'off', class: 'form-control', placeholder: 'Password' %>
      </div>
      <div class="form-group">
        <%%= f.password_field :password_confirmation, autocomplete: 'off', class: 'form-control', placeholder: 'Confirm Password' %>
      </div>
      <div class="form-group">
        <%%= f.submit 'Sign up', 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/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.15 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.14 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.13 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.11 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.10 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.9 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.8 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.7 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.6 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.5 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.4 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt
bootstrap_views_generator-0.1.3 lib/generators/bootstrap/templates/devise/erb/registrations/new.html.erb.tt