1class UserLoginForm(forms.Form):
2 username = forms.CharField(widget=forms.TextInput(
3 attrs={
4 'class':'form-control',
5 'placeholder':'Username'
6 }
7 ))
8 password = forms.CharField(widget=forms.PasswordInput(
9 attrs={
10 'class':'form-control',
11 'placeholder':'Password'
12 }
13 ))