{% extends 'formie/_layouts/settings' %} {% import '_includes/forms' as forms %} {% import 'verbb-base/_macros' as macros %} {% block content %}

{{ 'Sent Notifications' | t('formie') }}

{{ redirectInput('formie/settings/sent-notifications') }} {{ csrfInput() }} {% namespace 'settings' %} {{ forms.lightswitchField({ first: true, label: 'Enable Sent Notifications' | t('formie'), instructions: 'Whether to enable saving email notifications as sent notifications.' | t('formie'), name: 'sentNotifications', on: settings.sentNotifications, warning: macros.configWarning('sentNotifications', 'formie'), }) }} {{ forms.textField({ type: 'number', label: 'Maximum Sent Notifications Age' | t('formie'), instructions: 'The number of days to keep sent notifications before they are deleted permanently. Set to 0 to disable automatic deletion.' | t('formie'), id: 'maxSentNotificationsAge', name: 'maxSentNotificationsAge', value: settings.maxSentNotificationsAge, autofocus: true, warning: macros.configWarning('maxSentNotificationsAge', 'formie'), }) }} {% endnamespace %}
{% endblock %}