{% extends "social/settings/_layout" %} {% import "_includes/forms" as forms %} {% set selectedNavItem = 'settings' %} {% set content %}
{{ csrfInput() }} {{ forms.lightswitchField({ first: true, label: 'Enable Social Login'|t('social'), instructions: "When enabled, users can social login and register."|t('social'), name: 'settings[enableSocialLogin]', on: settings.enableSocialLogin, toggle: 'enable-sociallogin' }) }} {{ forms.lightswitchField({ label: 'Show CP Section'|t('social'), instructions: "Toggles the visibility of the Social Login menu item in the Control Panel sidebar."|t('social'), name: 'settings[showCpSection]', on: settings.showCpSection }) }}
{% endset %}