Browse Source

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 0b736f78a8.

* Add setting_theme label to admin theme selector
pull/4/head
Alix Rossi 5 years ago
committed by Eugen Rochko
parent
commit
26d3b2efce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/admin/settings/edit.html.haml

+ 1
- 1
app/views/admin/settings/edit.html.haml View File

@ -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}") }

Loading…
Cancel
Save