app/views/users/registrations/new.html.haml
- content_for :title do
= t('registrations.new.title')
%h2= t('registrations.new.title')
= simple_form_for resource, as: resource_name, url: registration_path(resource_name), html: { class: 'form-horizontal' } do |f|
= f.input :nickname
= f.input :name
= f.input :email, :as => :email
- if resource.password_required? && !params[:auth].present?
= f.input :password, :as => :password
= f.input :password_confirmation, :as => :password
- if resource.auth_temp_token
= f.hidden_field :auth_temp_token, value: resource.auth_temp_token
%ul.controls
%li= f.submit t('registrations.new.submit'), class: 'button'
= render partial: "users/shared/links"