Add hints for rules (#29539)
This commit is contained in:
parent
98ef38e34e
commit
5b3a8737d6
11 changed files with 29 additions and 4 deletions
|
@ -7,5 +7,8 @@
|
|||
.fields-group
|
||||
= f.input :text, wrapper: :with_block_label
|
||||
|
||||
.fields-group
|
||||
= f.input :hint, wrapper: :with_block_label
|
||||
|
||||
.actions
|
||||
= f.button :button, t('generic.save_changes'), type: :submit
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
.fields-group
|
||||
= f.input :text, wrapper: :with_block_label
|
||||
|
||||
.fields-group
|
||||
= f.input :hint, wrapper: :with_block_label
|
||||
|
||||
.actions
|
||||
= f.button :button, t('admin.rules.add_new'), type: :submit
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
- @rules.each do |rule|
|
||||
%li
|
||||
.rules-list__text= rule.text
|
||||
.rules-list__hint= rule.hint
|
||||
|
||||
.stacked-actions
|
||||
- accept_path = @invite_code.present? ? public_invite_url(invite_code: @invite_code, accept: @accept_token) : new_user_registration_path(accept: @accept_token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue