Sha256: f210841303d0b8946643e2c6864527583df741f8deeff26a0dd6af265d245272

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

.card
  .card-header
    %h2.text-center
      = t('devise.registration.new.title', model: resource.class.model_name.human)
    - if devise_mapping.omniauthable?
      - resource_class.omniauth_providers.each do |provider|
        = link_to omniauth_authorize_path(resource_name, provider),
                  class: 'btn btn-lg btn-primary btn-block' do
          %i.fas.fa-facebook
          = t('devise.shared.links.signup_with', name: provider.to_s.titleize)
      %h3.text-center
        = t('view.or')
  .card-body
    = simple_form_for resource,
                      as: resource_name,
                      url: registration_path(resource_name),
                      validate: true do |f|
      = f.error_notification
      .form-inputs
        = f.input :email
        = f.input :password
        = f.input :password_confirmation
        = f.input :name
        = f.input :surname
        = f.input :time_zone,
                  input_html: { class: 'chosen-select' },
                  include_blank: t('view.select')
      .form-actions
        = f.button :submit,
                   t('devise.registration.new.button'),
                   class: 'btn btn-primary btn-block'
  .card-footer.text-center
    = render 'devise/shared/links'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cybele-2.3.2 templates/app_files/app/views/user/registrations/new.html.haml
cybele-2.3.1 templates/app_files/app/views/user/registrations/new.html.haml
cybele-2.2.0 templates/app_files/app/views/user/registrations/new.html.haml
cybele-2.1.0 templates/app_files/app/views/user/registrations/new.html.haml
cybele-2.0.0 templates/app_files/app/views/user/registrations/new.html.haml