<form name="tag" method="post" action="{{ path('new_tag', { 'entry': entry.id })}}">
    {% if form_errors(form) %}
        <span class="black-text">{{ form_errors(form) }}</span>
    {% endif %}

    {% if form_errors(form.label) %}
        <span class="black-text">{{ form_errors(form.label) }}</span>
    {% endif %}

    {{ form_widget(form.label, { 'attr': {'autocomplete': 'off'} }) }}

    <div class="hidden">{{ form_rest(form) }}</div>
</form>
