|
|
@ -15,7 +15,7 @@ |
|
|
|
|
|
|
|
= form_tag update_settings_path do |
|
|
|
= textfield :name, current_user.name, required: true, heading: 'articles.conference_registration.headings.name', big: true |
|
|
|
= checkboxes :languages, User.AVAILABLE_LANGUAGES, current_user.languages || [I18n.locale], 'languages', heading: 'articles.conference_registration.headings.languages' |
|
|
|
= checkboxes :languages, User.AVAILABLE_LANGUAGES, (current_user.languages || [I18n.locale]).map(&:to_sym), 'languages', heading: 'articles.conference_registration.headings.languages' |
|
|
|
= radiobuttons :preferred_language, I18n.backend.enabled_locales, current_user.locale || I18n.locale, 'languages', heading: 'articles.conference_registration.headings.preferred_language' |
|
|
|
= checkbox :email_subscribe, current_user.is_subscribed != false, 'articles.user_settings.email_subscribe', heading: 'articles.user_settings.headings.email_subscribe', help: 'articles.user_settings.paragraphs.email_subscribe', inline: true, right_help: true |
|
|
|
.actions |
|
|
|