diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2022-11-17 05:05:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 11:05:39 +0100 |
commit | 4f15fd0ba1e992aa6cbe95573372c625a2f4cf71 (patch) | |
tree | 551e8a90cd97fc4ba62ab25fa9f676df57efba06 /app/views/settings/migration | |
parent | c373148b3d43056c242fbb891510f1f841ca2f45 (diff) |
Fix style for hashes (#20518)
* Fix style for hashes Make the style for hashes consistent. * New style More consistency
Diffstat (limited to 'app/views/settings/migration')
-rw-r--r-- | app/views/settings/migration/redirects/new.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/migration/redirects/new.html.haml b/app/views/settings/migration/redirects/new.html.haml index d7868e900..370087879 100644 --- a/app/views/settings/migration/redirects/new.html.haml +++ b/app/views/settings/migration/redirects/new.html.haml @@ -19,9 +19,9 @@ .fields-row__column.fields-group.fields-row__column-6 - if current_user.encrypted_password.present? - = f.input :current_password, wrapper: :with_block_label, input_html: { :autocomplete => 'current-password' }, required: true + = f.input :current_password, wrapper: :with_block_label, input_html: { autocomplete: 'current-password' }, required: true - else - = f.input :current_username, wrapper: :with_block_label, input_html: { :autocomplete => 'off' }, required: true + = f.input :current_username, wrapper: :with_block_label, input_html: { autocomplete: 'off' }, required: true .actions = f.button :button, t('migrations.set_redirect'), type: :submit, class: 'button button--destructive' |