Sha256: 832d9d17c5bd8dc1e99dff60863c0f4511c04fbdc02a8599ce22eb12f7e5f666

Contents?: true

Size: 1021 Bytes

Versions: 2

Compression:

Stored size: 1021 Bytes

Contents

<div class="devise-bootstrap-form">
  <div class="devise-bootstrap-form-row">
    <div class="devise-bootstrap-form-col">
      <h2 class="text-center"><%= t('.sign_up') %></h2>
      <%= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
        <%= render "devise/shared/error_messages", resource: resource %>

        <%= f.email_field :email, autofocus: true, autocomplete: "email" %>
        <%= f.password_field :password,
              autocomplete: "new-password",
              help: t('devise.shared.minimum_password_length', count: @minimum_password_length) %>
        <%= f.password_field :password_confirmation,
              autocomplete: "new-password",
              label_class: "required" %>

        <%= f.form_group do %>
          <%= f.submit t('.sign_up'), class: "btn btn-primary btn-block btn-lg" %>
        <% end %>
      <% end %>
      <div class="text-center">
        <%= render "devise/shared/links" %>
      </div>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-bootstrap-form-0.4.0 app/views/i18n/registrations/new.html.erb
devise-bootstrap-form-0.3.0 app/views/i18n/registrations/new.html.erb