# HG changeset patch # User Thierry Florac # Date 1570189927 -7200 # Node ID 60f8b160341cdbf61d0a838ae1192884a2719ab4 # Parent 53541532b67328fad7983befcf0f542de04717cb Added notice on submit message diff -r 53541532b673 -r 60f8b160341c src/pyams_content/shared/form/zmi/properties.py --- a/src/pyams_content/shared/form/zmi/properties.py Thu Oct 03 14:56:57 2019 +0200 +++ b/src/pyams_content/shared/form/zmi/properties.py Fri Oct 04 13:52:07 2019 +0200 @@ -70,6 +70,12 @@ super(FormPropertiesInnerEditForm, self).updateWidgets(prefix) if self.mode == INPUT_MODE: translate = self.request.localizer.translate + if 'submit_message' in self.widgets: + self.widgets['submit_message'].after_widget_notice = \ + '
{0}
'.format( + translate(_("Text samples:
" + "- Thank you for taking contact with us, your message has been " + "transmitted."))) if 'rgpd_warning' in self.widgets: self.widgets['rgpd_warning'].after_widget_notice = \ '
{0}
'.format(