2018-02-04 06:42:13 +02:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('auth.confirm_email')
|
|
|
|
|
|
|
|
= simple_form_for(current_user, as: 'user', url: finish_signup_path, html: { role: 'form'}) do |f|
|
|
|
|
- if @show_errors && current_user.errors.any?
|
|
|
|
#error_explanation
|
|
|
|
- current_user.errors.full_messages.each do |msg|
|
|
|
|
= msg
|
|
|
|
%br
|
|
|
|
|
2018-09-18 17:45:58 +03:00
|
|
|
.fields-group
|
|
|
|
= f.input :email, wrapper: :with_label, required: true, hint: false
|
2018-02-04 06:42:13 +02:00
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.submit t('auth.confirm_email'), class: 'button'
|