add field placeholder layout crispy modelform code example
Example: add field placeholder layout crispy modelform
q = forms.CharField(label='search',
widget=forms.TextInput(attrs={'placeholder': 'Search'}))
q = forms.CharField(label='search',
widget=forms.TextInput(attrs={'placeholder': 'Search'}))