We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd5d79 commit 9bed054Copy full SHA for 9bed054
rp-portfolio/blog/forms.py
@@ -4,14 +4,12 @@
4
class CommentForm(forms.Form):
5
author = forms.CharField(
6
max_length=60,
7
- widget=forms.TextInput(attrs={
8
- "class": "form-control",
9
- "placeholder": "Your Name"
10
- })
+ widget=forms.TextInput(
+ attrs={"class": "form-control", "placeholder": "Your Name"}
+ ),
11
)
12
- body = forms.CharField(widget=forms.Textarea(
13
- attrs={
14
15
- "placeholder": "Leave a comment!"
16
+ body = forms.CharField(
+ widget=forms.Textarea(
+ attrs={"class": "form-control", "placeholder": "Leave a comment!"}
+ )
17
0 commit comments