diff --git a/zds/forum/forms.py b/zds/forum/forms.py index c5f5958916..b9a1a95993 100644 --- a/zds/forum/forms.py +++ b/zds/forum/forms.py @@ -125,11 +125,12 @@ def __init__(self, topic, user, *args, **kwargs): u'afin de limiter le flood.', disabled=True) elif topic.is_locked: - self.helper['text'].wrap( - Field, - placeholder=u'Ce topic est verrouillé.', - disabled=True - ) + if 'text' not in self.initial: + self.helper['text'].wrap( + Field, + placeholder=u'Ce topic est verrouillé.', + disabled=True + ) def clean(self): cleaned_data = super(PostForm, self).clean()