From 0fb1e7888e8f2f83c8f1d6b19a44b6c079251a2e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 29 Jul 2019 18:17:51 -0500 Subject: actually let's make the delay time configurable --- app/views/settings/preferences/show.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views') 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/ -- cgit