Styling Django Filter Form In Html
Here's how my django filter form currently looks: And here's my html code:
Solution 1:
You can do by adding attribute to your form to make text visible like this
name = forms.CharField(widget=forms.TextInput(attrs={'class':'form-control text-white text-center',max_length="100"}))
and add this class to your form tag
<form action="" method="get"class="form-inline justify-content-center">
Post a Comment for "Styling Django Filter Form In Html"