show.html.haml 550 B

123456789101112
  1. - content_for :page_title do
  2. = t('admin.accounts.change_email.title', username: @account.username)
  3. = simple_form_for @user, url: admin_account_change_email_path(@account.id) do |f|
  4. .fields-group
  5. = f.input :email, wrapper: :with_label, hint: false, disabled: true, label: t('admin.accounts.change_email.current_email')
  6. .fields-group
  7. = f.input :unconfirmed_email, wrapper: :with_label, label: t('admin.accounts.change_email.new_email')
  8. .actions
  9. = f.button :submit, class: 'button', value: t('admin.accounts.change_email.submit')