summaryrefslogtreecommitdiff
path: root/arduino_blog/forms.py
diff options
context:
space:
mode:
authorSashi202020-03-07 14:14:15 +0530
committerSashi202020-03-07 14:14:15 +0530
commit4a2d460a5889c72146fd20adb1a3fd8f6de44d11 (patch)
tree0c8de33f0597a63397aebf88414189938435eac0 /arduino_blog/forms.py
parente054772fbd28452597dfa48f057c56701cb432b8 (diff)
downloadarduino_projects_website-4a2d460a5889c72146fd20adb1a3fd8f6de44d11.tar.gz
arduino_projects_website-4a2d460a5889c72146fd20adb1a3fd8f6de44d11.tar.bz2
arduino_projects_website-4a2d460a5889c72146fd20adb1a3fd8f6de44d11.zip
Alter reference field in proposal form to textarea
Diffstat (limited to 'arduino_blog/forms.py')
-rw-r--r--arduino_blog/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arduino_blog/forms.py b/arduino_blog/forms.py
index e12f36e..afd3958 100644
--- a/arduino_blog/forms.py
+++ b/arduino_blog/forms.py
@@ -247,7 +247,7 @@ class AbstractProposalForm(forms.ModelForm):
error_messages={
'required': 'Abstract field required.'},
)
- references = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'References(if any)'}),
+ references = forms.CharField(widget=forms.Textarea(attrs={'class': 'form-control', 'placeholder': 'References(if any)'}),
required = False
)
completion_date = forms.DateTimeField(