{{#if showThemeSelector}}
{{combo-box content=userSelectableThemes value=themeId onChange=(action (mut themeId)) }}
{{#if showThemeSetDefault}}
{{preference-checkbox labelKey="user.theme_default_on_all_devices" checked=makeThemeDefault}}
{{/if}}
{{/if}}
{{combo-box valueProperty="value" content=textSizes value=textSize onChange=(action "selectTextSize") }}
{{#if showTextSetDefault}}
{{preference-checkbox labelKey="user.text_size_default_on_all_devices" checked=makeTextSizeDefault}}
{{/if}}
{{#if siteSettings.allow_user_locale}}
{{combo-box valueProperty="value" content=availableLocales value=model.locale onChange=(action (mut model.locale)) options=(hash filterable=true none="user.locale.default" ) }}
{{i18n 'user.locale.instructions'}}
{{/if}}
{{combo-box content=userSelectableHome valueProperty="value" value=homepageId onChange=(action (mut model.user_option.homepage_id)) }}
{{preference-checkbox labelKey="user.external_links_in_new_tab" checked=model.user_option.external_links_in_new_tab class="pref-external-links"}} {{preference-checkbox labelKey="user.enable_quoting" checked=model.user_option.enable_quoting class="pref-enable-quoting"}} {{preference-checkbox labelKey="user.enable_defer" checked=model.user_option.enable_defer class="pref-defer-undread"}} {{#if siteSettings.automatically_unpin_topics}} {{preference-checkbox labelKey="user.automatically_unpin_topics" checked=model.user_option.automatically_unpin_topics class="pref-auto-unpin"}} {{/if}} {{preference-checkbox labelKey="user.hide_profile_and_presence" checked=model.user_option.hide_profile_and_presence class="pref-hide-profile"}} {{#if isiPad}} {{preference-checkbox labelKey="user.enable_physical_keyboard" checked=disableSafariHacks class="pref-safari-hacks"}} {{/if}} {{preference-checkbox labelKey="user.dynamic_favicon" checked=model.user_option.dynamic_favicon class="pref-dynamic-favicon"}}
{{combo-box valueProperty="value" content=titleCountModes value=model.user_option.title_count_mode id="user-title-count-mode" onChange=(action (mut model.user_option.title_count_mode)) }}
{{plugin-outlet name="user-preferences-interface" args=(hash model=model save=(action "save"))}}
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}}
{{partial 'user/preferences/save-button'}}