Use radio buttons for emoji style preference (#39126)
This commit is contained in:
parent
cdf721a273
commit
15a7507a09
@ -51,10 +51,9 @@
|
|||||||
label_method: ->(contrast) { I18n.t("contrast.#{contrast}", default: contrast) },
|
label_method: ->(contrast) { I18n.t("contrast.#{contrast}", default: contrast) },
|
||||||
wrapper: :with_label,
|
wrapper: :with_label,
|
||||||
required: false
|
required: false
|
||||||
|
.input.horizontal-options
|
||||||
.fields-group
|
|
||||||
= f.simple_fields_for :settings, current_user.settings do |ff|
|
|
||||||
= ff.input :'web.emoji_style',
|
= ff.input :'web.emoji_style',
|
||||||
|
as: :radio_buttons,
|
||||||
collection: user_settings_collection('web.emoji_style'),
|
collection: user_settings_collection('web.emoji_style'),
|
||||||
include_blank: false,
|
include_blank: false,
|
||||||
hint: I18n.t('simple_form.hints.defaults.setting_emoji_style'),
|
hint: I18n.t('simple_form.hints.defaults.setting_emoji_style'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user