{% import "_includes/forms" as forms %} {% set isPro = plugin.is('pro') %} {{ forms.textField({ label: "Plugin Name"|t('sprout-seo'), instructions: "Intuitive, human-readable plugin name for the end user."|t('sprout-seo'), id: 'pluginNameOverride', name: 'pluginNameOverride', value: settings.pluginNameOverride, placeholder: 'Sprout SEO', autofocus: true, first: true, errors: '' }) }} {% set advancedInput %}
| {{ "Feature"|t('sprout-seo') }} | {{ "Enabled?"|t('sprout-seo') }} |
|---|---|
|
{{ forms.lightswitch({
name: 'enableGlobals',
on: settings.enableGlobals
}) }}
|
|
|
{{ forms.lightswitch({
name: 'enableRedirects',
on: not isPro ? false : settings.enableRedirects,
disabled: not isPro
}) }}
|
|
|
{{ forms.lightswitch({
name: 'enableSitemaps',
on: not isPro ? false : settings.enableSitemaps,
disabled: not isPro
}) }}
|