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