--- 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 = \
+ '<div class="alert-info padding-5">{0}</div>'.format(
+ translate(_("Text samples:<br />"
+ "- 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 = \
'<div class="alert-info padding-5">{0}</div>'.format(