Sha256: 48ed331054233854fbb237235847206101e9732b8de9b937738663e9451c2f68

Contents?: true

Size: 720 Bytes

Versions: 6

Compression:

Stored size: 720 Bytes

Contents

-# UsersController#new registration form is ONLY used with omniauth-identity
- i18n_scope = "socialite.users.new"
- labels_scope = "socialite.labels"

= simple_form_for(@user, :url => '/auth/identity/register') do |f|
  %h1= I18n.t(:header, scope: i18n_scope)
  -# specify :input_html to avoid params nesting
  -# = f.input :name, :input_html => {:name => 'name'}
  = f.input :email, :input_html => {:name => 'email'}
  = f.input :password, :as => 'password', :input_html => {:name => 'password'}
  = f.input :password_confirmation, :label => I18n.t(:confirm_password, scope: labels_scope), :as => 'password', :input_html => {:name => 'password_confirmation'}
  = f.button :submit, I18n.t(:sign_up, scope: labels_scope)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
socialite-0.2.1 app/views/socialite/users/new.html.haml
socialite-0.2.0 app/views/socialite/users/new.html.haml
socialite-0.1.2 app/views/socialite/users/new.html.haml
socialite-0.1.1 app/views/socialite/users/new.html.haml
socialite-0.1.0.pre.7 app/views/socialite/users/new.html.haml
socialite-0.1.0.pre.6 app/views/socialite/users/new.html.haml