~cytrogen/masto-fe

ref: 9974163776b3e65e7cfa41e6293876909a1635b7 masto-fe/app/views/admin/change_emails/show.html.haml -rw-r--r-- 550 bytes
99741637 — Matt Jankowski Consolidate inclusion of `admin` js pack link (#26628) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
- content_for :page_title do
  = t('admin.accounts.change_email.title', username: @account.username)

= simple_form_for @user, url: admin_account_change_email_path(@account.id) do |f|
  .fields-group
    = f.input :email, wrapper: :with_label, hint: false, disabled: true, label: t('admin.accounts.change_email.current_email')

  .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')