Ver código fonte

Correctif table_filters.html.twig

develop
Guillaume 3 anos atrás
pai
commit
18bfd5e63b
1 arquivos alterados com 6 adições e 4 exclusões
  1. +6
    -4
      Resources/views/adminlte/block/table_filters.html.twig

+ 6
- 4
Resources/views/adminlte/block/table_filters.html.twig Ver arquivo

@@ -41,10 +41,12 @@
})
.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 %}
</div>
{% endif %}

Carregando…
Cancelar
Salvar