Browse Source

Correctif table_filters.html.twig

develop
Guillaume 3 years ago
parent
commit
18bfd5e63b
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      Resources/views/adminlte/block/table_filters.html.twig

+ 6
- 4
Resources/views/adminlte/block/table_filters.html.twig View File

}) })
.generateUrl() %} .generateUrl() %}


{% if 'TextType' in field.formType or 'IntegerType' in field.formType %}
{{ form_widget(form_field, {'attr': {'autocomplete': 'off', 'data-lc-autocomplete-url' : url}|raw }) }}
{% else %}
{{ form_widget(form_field) }}
{% if not form_field.rendered %}
{% if 'TextType' in field.formType or 'IntegerType' in field.formType %}
{{ form_widget(form_field, {'attr': {'autocomplete': 'off', 'data-lc-autocomplete-url' : url}|raw }) }}
{% else %}
{{ form_widget(form_field) }}
{% endif %}
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}

Loading…
Cancel
Save