1 <form name="entry" method="post" action="{{ path('new_entry')}}">
2 {% if form_errors(form) %}
3 <span class="black-text">{{ form_errors(form) }}</span>
6 {% if form_errors(form.url) %}
7 <span class="black-text">{{ form_errors(form.url) }}</span>
10 {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website'} }) }}
12 <div class="hidden">{{ form_rest(form) }}</div>