summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2024-03-11 09:57:07 +0100
committerGitHub <noreply@github.com>2024-03-11 08:57:07 +0000
commit5b3a8737d6fa84c91e5158c34170f488df9ad313 (patch)
tree90fa1e012fa38d23451fcc194202f11bddc0161c /app/views/admin
parent98ef38e34ebc7f296a818e8cb454219f997529c2 (diff)
Add hints for rules (#29539)
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/rules/edit.html.haml3
-rw-r--r--app/views/admin/rules/index.html.haml3
2 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/rules/edit.html.haml b/app/views/admin/rules/edit.html.haml
index ba7e6451a14..77815588d22 100644
--- a/app/views/admin/rules/edit.html.haml
+++ b/app/views/admin/rules/edit.html.haml
@@ -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
diff --git a/app/views/admin/rules/index.html.haml b/app/views/admin/rules/index.html.haml
index aa6a4c1b6a6..dd15ce03c02 100644
--- a/app/views/admin/rules/index.html.haml
+++ b/app/views/admin/rules/index.html.haml
@@ -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