{% import "_includes/forms" as forms %} {% import "sprout-base-fields/_includes/forms" as sproutFields %} {% block content %} {{ forms.textField({ label: "Plugin Name"|t('sprout-email'), instructions: "Intuitive, human-readable plugin name for the end user."|t('sprout-email'), id: 'pluginNameOverride', name: 'pluginNameOverride', value: settings.pluginNameOverride, autofocus: true, first: true, errors: '' }) }} {% set advancedInput %}
{{ "Feature"|t('sprout-email') }} {{ "Enabled?"|t('sprout-email') }}
{{ forms.lightswitch({ name: 'enableCampaignEmails', on: settings.enableCampaignEmails }) }}
{{ forms.lightswitch({ name: 'enableNotificationEmails', on: settings.enableNotificationEmails }) }}
{{ forms.lightswitch({ name: 'enableSentEmails', on: settings.enableSentEmails }) }}
{% endset %} {#{{ forms.field({#} {#label: "Choose which features to enable"|t('sprout-email'),#} {#instructions: "Disabled items will be removed from the sidebar navigation and no longer accessible in the Control Panel."|t('sprout-email')#} {#}, advancedInput) }}#} {% endblock %}