about summary refs log tree commit diff
path: root/app/views/settings/preferences/show.html.haml
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-09-25 19:24:32 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-09-25 19:24:32 -0700
commit86e617a839bd4eb45ace52ab226a4e93bb184ff0 (patch)
tree63e4513681af278474c2da1e592a13a6043719b2 /app/views/settings/preferences/show.html.haml
parentc2b479efecf1ce1f4a45e626963b7ce7e203b8d6 (diff)
Better themeing support!!
Diffstat (limited to 'app/views/settings/preferences/show.html.haml')
-rw-r--r--app/views/settings/preferences/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml
index f42f92508..5efd538e4 100644
--- a/app/views/settings/preferences/show.html.haml
+++ b/app/views/settings/preferences/show.html.haml
@@ -5,6 +5,8 @@
   = render 'shared/error_messages', object: current_user
 
   .fields-group
+    = f.input :setting_theme, collection: Themes.instance.names, label_method: lambda { |theme| safe_join([I18n.t("themes.#{theme}", default: theme)])}, wrapper: :with_label, include_blank: false
+
     = f.input :locale,
       collection: I18n.available_locales,
       wrapper: :with_label,