Sha256: 0210baf6ff3216c876ed5013f446180d4bf0d1c80a98232002dedeecbeac75b0

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

<%= render 'account/shared/workflow/box' do |box| %>
  <% box.title t('devise.headers.create_account') %>
  <% box.body do %>
    <% within_fields_namespace(:sign_up) do %>
     <%= form_for resource, as: resource_name, url: registration_path(resource_name), html: {class: 'form'} do |f| %>
       <%= render 'account/shared/notices' %>
       <%= render 'account/shared/forms/errors', form: f %>

       <%= render 'shared/fields/email_field', form: f, method: :email, options: {autofocus: true} do %>
         <% content_for :help do %>
           <%= link_to t('devise.links.have_account'), new_user_session_path %>
         <% end %>
       <% end %>

       <div class="grid grid-cols-2 gap-5">
         <div>
           <%= render 'shared/fields/password_field', form: f, method: :password, options: {show_strength_indicator: true} %>
         </div>
         <div>
           <%= render 'shared/fields/password_field', form: f, method: :password_confirmation, other_options: {error: f.object.errors.full_messages_for(:password).first, hide_custom_error: true} %>
         </div>
       </div>

       <%= f.submit t('global.buttons.sign_up'), class: 'button full' %>
     <% end %>

     <%= render 'devise/shared/oauth', verb: 'Sign Up' %>
   <% end %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bullet_train-1.2.27 app/views/devise/registrations/new.html.erb
bullet_train-1.2.26 app/views/devise/registrations/new.html.erb
bullet_train-1.2.25 app/views/devise/registrations/new.html.erb
bullet_train-1.2.24 app/views/devise/registrations/new.html.erb
bullet_train-1.2.23 app/views/devise/registrations/new.html.erb
bullet_train-1.2.22 app/views/devise/registrations/new.html.erb
bullet_train-1.2.21 app/views/devise/registrations/new.html.erb