The code powering m.abunchtell.com https://m.abunchtell.com
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

28 satır
1.2 KiB

  1. - content_for :page_title do
  2. = t('settings.migrate')
  3. = simple_form_for @redirect, url: settings_migration_redirect_path do |f|
  4. %p.hint= t('migrations.warning.before')
  5. %ul.hint
  6. %li.warning-hint= t('migrations.warning.redirect')
  7. %li.warning-hint= t('migrations.warning.other_data')
  8. %li.warning-hint= t('migrations.warning.disabled_account')
  9. %hr.spacer/
  10. = render 'shared/error_messages', object: @redirect
  11. .fields-row
  12. .fields-row__column.fields-group.fields-row__column-6
  13. = f.input :acct, wrapper: :with_block_label, input_html: { autocapitalize: 'none', autocorrect: 'off' }, label: t('simple_form.labels.account_migration.acct'), hint: t('simple_form.hints.account_migration.acct')
  14. .fields-row__column.fields-group.fields-row__column-6
  15. - if current_user.encrypted_password.present?
  16. = f.input :current_password, wrapper: :with_block_label, input_html: { :autocomplete => 'off' }, required: true
  17. - else
  18. = f.input :current_username, wrapper: :with_block_label, input_html: { :autocomplete => 'off' }, required: true
  19. .actions
  20. = f.button :button, t('migrations.set_redirect'), type: :submit, class: 'button button--destructive'