|
|
@@ -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 %} |