* Wip * Wip * Wip: History * Wip: テストコード作成 * Fix test * Wip * Wip * Wip * Fix test * Wip * Wip * Wip * Wip * なんとか完成、これから動作確認 * spell miss * Change ng rule timings * Fix test * Wip * Fix test * Wip * Fix form * 表示まわりの改善
19 lines
869 B
Text
19 lines
869 B
Text
- content_for :page_title do
|
|
= t('admin.sensitive_words.title')
|
|
|
|
- content_for :header_tags do
|
|
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
|
|
|
|
= simple_form_for @admin_settings, url: admin_sensitive_words_path, html: { method: :post } do |f|
|
|
= render 'shared/error_messages', object: @admin_settings
|
|
|
|
%p.lead= t 'admin.sensitive_words.hint'
|
|
|
|
.fields-group
|
|
= f.input :sensitive_words_for_full, wrapper: :with_label, as: :text, input_html: { rows: 8 }, label: t('admin.sensitive_words.keywords_for_all'), hint: t('admin.sensitive_words.keywords_for_all_hint')
|
|
|
|
.fields-group
|
|
= f.input :sensitive_words, wrapper: :with_label, as: :text, input_html: { rows: 8 }, label: t('admin.sensitive_words.keywords'), hint: t('admin.sensitive_words.keywords_hint')
|
|
|
|
.actions
|
|
= f.button :button, t('generic.save_changes'), type: :submit
|