fix title length bug
Added code to check length of topic title when editing a post.
This commit is contained in:
parent
2937220791
commit
94435e8006
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class AddPostForm(forms.ModelForm):
|
|||
|
||||
|
||||
class EditPostForm(forms.ModelForm):
|
||||
name = forms.CharField(required=False, label=_('Subject'),
|
||||
name = forms.CharField(required=False, label=_('Subject'), max_length=155,
|
||||
widget=forms.TextInput(attrs={'size':'115'}))
|
||||
silent_edit = forms.BooleanField(required=False, label=_('Silent edit?'))
|
||||
|
||||
|
|
Reference in a new issue