fix attachment
This commit is contained in:
parent
a77209fb52
commit
fea85cd2dd
2 changed files with 2 additions and 3 deletions
|
@ -47,8 +47,7 @@ SEARCH_IN_CHOICES = (
|
|||
class AddPostForm(forms.ModelForm):
|
||||
name = forms.CharField(label=_('Subject'),
|
||||
widget=forms.TextInput(attrs={'size':'115'}))
|
||||
attachment = forms.FileField(label=_('Attachment'), required=False,
|
||||
widget=forms.FileInput(attrs={'size':'115'}))
|
||||
attachment = forms.FileField(label=_('Attachment'), required=False)
|
||||
|
||||
class Meta:
|
||||
model = Post
|
||||
|
|
Reference in a new issue