I'm trying to customize form in django using django-crispy-forms and django-filter extensions. Here is my form snippet:
class FilterForm(Form):
def __init__(self, *args, **kwargs):
super(FilterForm, self).__init__(*args, **kwargs)
self.helper = FormHelper()
self.helper.form_method = 'get'
self.helper.layout = Layout(
Row(
Div('country', css_class='col-sm-3'),
Div('brand', css_class='col-sm-3'),
)
)
This is how the layout looks like in browser:

So my questions are: how do I remove p tag with "Filter" text in it and why the arrow button of select control shrinks like this?
To disable paragraph with help text I used this setting
FILTERS_HELP_TEXT_FILTER = False
The style of select box has to do with the bootstrap/firefox issue. Workaround is to restyle select box in css.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With