def __init__(self, *args, **kwargs):
    super(DomainFilter, self).__init__(*args, **kwargs)
    self.helper = FormHelper()
    self.helper.form_method = 'get'
    self.helper.form_class = 'newitem'
    self.helper.form_show_labels = False
    self.helper.layout = Layout(Row(Column(PrependedText('name', '<i class="fas fa-filter"></i>'), css_class='col-md-4 offset-md-2'), Column(PrependedText('all_cat', '<i class="fas fa-filter"></i>'), css_class=' col-md-4'), css_class='form-row'), Accordion(AccordionGroup('Domain Statuses', InlineCheckboxes('domain_status')), AccordionGroup('Health Statuses', InlineCheckboxes('health_status'))), ButtonHolder(Submit('submit', 'Filter', css_class='btn btn-primary col-md-2'), HTML('\n                    <a class="btn btn-outline-secondary col-md-2" role="button" href="{%  url \'shepherd:domains\' %}">Reset</a>\n                    ')))
def __init__(self, *args, **kwargs):
    super(DomainFilter, self).__init__(*args, **kwargs)
    self.helper = FormHelper()
    self.helper.form_method = 'get'
    self.helper.form_class = 'newitem'
    self.helper.form_show_labels = False
    self.helper.layout = Layout(Row(Column(PrependedText('name', '<i class="fas fa-filter"></i>'), css_class='col-md-4 offset-md-2'), Column(PrependedText('all_cat', '<i class="fas fa-filter"></i>'), css_class=' col-md-4'), css_class='form-row'), Accordion(AccordionGroup('Domain Statuses', InlineCheckboxes('domain_status')), AccordionGroup('Health Statuses', InlineCheckboxes('health_status'))), ButtonHolder(Submit('submit', 'Filter', css_class='btn btn-primary col-md-2'), HTML('\n                    <a class="btn btn-outline-secondary col-md-2" role="button" href="{%  url \'shepherd:domains\' %}">Reset</a>\n                    ')))