Show More
@@ -105,7 +105,8 b' class PostForm(NeboardForm):' | |||||
105 | text = forms.CharField( |
|
105 | text = forms.CharField( | |
106 | widget=FormatPanel(attrs={ATTRIBUTE_PLACEHOLDER: TEXT_PLACEHOLDER}), |
|
106 | widget=FormatPanel(attrs={ATTRIBUTE_PLACEHOLDER: TEXT_PLACEHOLDER}), | |
107 | required=False, label=LABEL_TEXT) |
|
107 | required=False, label=LABEL_TEXT) | |
108 |
image = forms.ImageField(required=False, label=_('Image') |
|
108 | image = forms.ImageField(required=False, label=_('Image'), | |
|
109 | widget=forms.ClearableFileInput(attrs={'accept': 'image/*'})) | |||
109 |
|
110 | |||
110 | # This field is for spam prevention only |
|
111 | # This field is for spam prevention only | |
111 | email = forms.CharField(max_length=100, required=False, label=_('e-mail'), |
|
112 | email = forms.CharField(max_length=100, required=False, label=_('e-mail'), |
General Comments 0
You need to be logged in to leave comments.
Login now