diff --git a/src/templates/_settings/sendout/index.twig b/src/templates/_settings/sendout/index.twig index 6a70ea50..b249286e 100644 --- a/src/templates/_settings/sendout/index.twig +++ b/src/templates/_settings/sendout/index.twig @@ -29,17 +29,11 @@
- {% set input %} - {{ forms.checkbox({ - label: "Show the title field for sendouts."|t('campaign'), - name: 'showSendoutTitleField', - checked: settings.showSendoutTitleField, - }) }} - {% endset %} - {{ forms.field({ + {{ forms.lightswitchField({ label: "Show Title Field"|t('campaign'), - instructions: "If unchecked, the subject will be used as the title."|t('campaign'), - }, input) }} + instructions: "Whether the title field should be visible in addition to the subject. If off, the subject will be used as the title."|t('campaign'), + on: settings.showSendoutTitleField, + }) }}