def _success_handler(self, form): email_body = form.body.data agreements = self._get_agreements() for agreement in agreements: notify_agreement_reminder(agreement, email_body, form.cc_addresses.data, form.from_address.data) flash(_("Reminders sent"), 'success')
def _success_handler(self, form): email_body = form.body.data agreements = self._get_agreements() for agreement in agreements: notify_agreement_reminder(agreement, email_body, form.cc_addresses.data, form.from_address.data) flash(_("Reminders sent"), 'success')