From 467170f4a095c5c794ae4d8f46b5d57205590013 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 8 Mar 2019 06:01:17 +0000 Subject: more local-only options --- app/views/settings/preferences/show.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/settings') diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index a55d427db..2ed325b19 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -28,6 +28,7 @@ = f.input :setting_default_content_type, collection: ['text/plain', 'text/markdown', 'text/html'], wrapper: :with_label, include_blank: false, label_method: lambda { |item| safe_join([t("simple_form.labels.defaults.setting_default_content_type_#{item.split('/')[1]}"), content_tag(:span, t("simple_form.hints.defaults.setting_default_content_type_#{item.split('/')[1]}"), class: 'hint')]) }, required: false, as: :radio_buttons, collection_wrapper_tag: 'ul', item_wrapper_tag: 'li' = f.input :setting_default_local, as: :boolean, wrapper: :with_label + = f.input :setting_always_local, as: :boolean, wrapper: :with_label = f.input :setting_default_sensitive, as: :boolean, wrapper: :with_label %hr#settings_other/ -- cgit