about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-29 18:17:51 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-29 18:17:51 -0500
commit0fb1e7888e8f2f83c8f1d6b19a44b6c079251a2e (patch)
tree8d33a54a5a23ac1776750922597ca17fc0fbb2bc /app/views
parent9d55cfc6addd0c6f6d3974fab3d66f09972d9fc5 (diff)
actually let's make the delay time configurable
Diffstat (limited to 'app/views')
-rw-r--r--app/views/settings/preferences/show.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml
index f1e9656b6..47c3d6915 100644
--- a/app/views/settings/preferences/show.html.haml
+++ b/app/views/settings/preferences/show.html.haml
@@ -33,6 +33,7 @@
 
   .fields-group
     = f.input :setting_delayed_roars, as: :boolean, wrapper: :with_label
+    = f.input :setting_delayed_for, collection: [5, 10, 15, 30, 60, 120, 180, 300, 360, 600, 1800, 3600], wrapper: :with_label, include_blank: false, label_method: lambda { |item| safe_join([t("simple_form.labels.delayed_for.#{item}")]) }, selected: [5, current_user.delayed_for.to_i].max
 
   %hr#settings_other/