Sha256: 3f10d5d274fa49ea0b33f868bdcd7ec1b00a163e0313b8372025024f3888daef

Contents?: true

Size: 734 Bytes

Versions: 6

Compression:

Stored size: 734 Bytes

Contents

- i18n_scope = "socialite.identities.new"
%h1= I18n.t('header', scope: i18n_scope)

= simple_form_for @identity, :url => '/auth/identity/register' do |f|
  - if @identity && @identity.errors.any?
    .error_messages
      %h2= I18n.t('socialite.errors.create_fail', :count => @identity.errors.count)
      %ul
      - @identity.errors.full_messages.each do |msg|
        %li= msg

  = f.input :email, :input_html => {:name => 'email'}
  = f.input :password, :as => 'password', :input_html => {:name => 'password'}
  = f.input :password_confirmation, :label => I18n.t('socialite.labels.confirm_password'), :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/identities/new.html.haml
socialite-0.2.0 app/views/socialite/identities/new.html.haml
socialite-0.1.2 app/views/socialite/identities/new.html.haml
socialite-0.1.1 app/views/socialite/identities/new.html.haml
socialite-0.1.0.pre.7 app/views/socialite/identities/new.html.haml
socialite-0.1.0.pre.6 app/views/socialite/identities/new.html.haml