Sha256: 0a287b993ee3f6288df86eb481a804b85e886a8cea3bc3489183956c82c6737e
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
Contents
%h2 = t('devise.registration.new.title', model: resource.class.model_name.human) %hr/ - 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) %hr/ %h3.text-center = t('view.or') %hr/ = 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' = render 'devise/shared/links'
Version data entries
5 entries across 5 versions & 1 rubygems