Sha256: fb4e12c3feceb18fd6753c7fc21ddbd22344e4f79d2c38072dc86427ed295f9e

Contents?: true

Size: 925 Bytes

Versions: 2

Compression:

Stored size: 925 Bytes

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.fa.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)) 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

2 entries across 2 versions & 1 rubygems

Version Path
cybele-1.9.1 templates/app/views/devise/registrations/new.html.haml
cybele-1.9.0 templates/app/views/devise/registrations/new.html.haml