2018-04-10 09:16:06 +02:00
|
|
|
- content_for :page_title do
|
2022-03-22 10:07:11 +01:00
|
|
|
= t('admin.accounts.change_email.title', username: @account.username)
|
2018-04-10 09:16:06 +02:00
|
|
|
|
|
|
|
= simple_form_for @user, url: admin_account_change_email_path(@account.id) do |f|
|
2018-09-18 16:45:58 +02:00
|
|
|
.fields-group
|
2019-02-05 15:11:35 +01:00
|
|
|
= f.input :email, wrapper: :with_label, hint: false, disabled: true, label: t('admin.accounts.change_email.current_email')
|
2018-09-18 16:45:58 +02:00
|
|
|
|
|
|
|
.fields-group
|
|
|
|
= f.input :unconfirmed_email, wrapper: :with_label, label: t('admin.accounts.change_email.new_email')
|
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :submit, class: "button", value: t('admin.accounts.change_email.submit')
|