about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorAlix Rossi <a.d.r@alixrossi.corsica>2019-06-19 17:30:08 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-06-19 17:30:08 +0200
commit26d3b2efce8f9fd8483076e4b7371fcaf4a5e392 (patch)
tree13191dacdf4cd9c1bbe94dda81fff87cc2e59f3b /app
parentede0be5dba6836606db772a007ad9be5d60c7b99 (diff)
Add label for admin theme selector (#11121)
* Add simple_form default for admin theme selector

* Revert "Add simple_form default for admin theme selector"

This reverts commit 0b736f78a87d61075f9b9f774d8da80e1e897b47.

* Add setting_theme label to admin theme selector
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/settings/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/settings/edit.html.haml b/app/views/admin/settings/edit.html.haml
index 1c2c00f10..a67e6a2c8 100644
--- a/app/views/admin/settings/edit.html.haml
+++ b/app/views/admin/settings/edit.html.haml
@@ -9,7 +9,7 @@
 
   .fields-row
     .fields-row__column.fields-row__column-6.fields-group
-      = f.input :theme, collection: Themes.instance.names, label_method: lambda { |theme| I18n.t("themes.#{theme}", default: theme) }, wrapper: :with_label, include_blank: false
+      = f.input :theme, collection: Themes.instance.names, label: t('simple_form.labels.defaults.setting_theme'), label_method: lambda { |theme| I18n.t("themes.#{theme}", default: theme) }, wrapper: :with_label, include_blank: false
     .fields-row__column.fields-row__column-6.fields-group
       = f.input :registrations_mode, collection: %w(open approved none), wrapper: :with_label, label: t('admin.settings.registrations_mode.title'), include_blank: false, label_method: lambda { |mode| I18n.t("admin.settings.registrations_mode.modes.#{mode}") }