about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-10 03:44:43 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-10 03:44:43 -0600
commit61e3a90e50be6e5dba2d84ef31a7df171eb6be50 (patch)
treee5bf9317567c0c782d39d2f866643ac59761909e /app/views
parent91545d4ec4b081b6f0e99e013aa1bfdd9c930596 (diff)
add regex shortcut descriptions for filters
Diffstat (limited to 'app/views')
-rw-r--r--app/views/filters/_fields.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/filters/_fields.html.haml b/app/views/filters/_fields.html.haml
index a02b04e51..3df611596 100644
--- a/app/views/filters/_fields.html.haml
+++ b/app/views/filters/_fields.html.haml
@@ -1,5 +1,7 @@
 .fields-row
   .fields-row__column.fields-row__column-6.fields-group
-    = f.input :phrase, as: :string, wrapper: :with_label, hint: false
+    = f.input :phrase, as: :string, wrapper: :with_label
+    %p.hint{ style: 'margin-bottom: 25px' }= t('simple_form.hints.defaults.phrase_html')
+
   .fields-row__column.fields-row__column-6.fields-group
     = f.input :expires_in, wrapper: :with_label, collection: [30.minutes, 1.hour, 6.hours, 12.hours, 1.day, 1.week].map(&:to_i), label_method: lambda { |i| I18n.t("invites.expires_in.#{i}") }, prompt: I18n.t('invites.expires_in_prompt')