# HG changeset patch # User raph # Date 1286194877 -7200 # Node ID 731664a4999298f2b9760ffb9404ef0eb36d0488 # Parent 459e30951aa2a223295a7832607e0c290d87d613 add note size limitation diff -r 459e30951aa2 -r 731664a49992 src/cm/views/texts.py --- a/src/cm/views/texts.py Wed Sep 29 14:43:40 2010 +0200 +++ b/src/cm/views/texts.py Mon Oct 04 14:21:17 2010 +0200 @@ -634,6 +634,7 @@ note = forms.CharField(label=ugettext_lazy("Note (optional)"), widget=forms.TextInput, required=False, + max_length=100, help_text=ugettext_lazy("Add a note to explain the modifications made to the text") )