]>
Commit | Line | Data |
---|---|---|
053b9568 | 1 | <form name="entry" method="post" action="{{ path('new_entry')}}"> |
daa2b7e7 JB |
2 | {% if form_errors(form) %} |
3 | <span class="black-text">{{ form_errors(form) }}</span> | |
4 | {% endif %} | |
053b9568 | 5 | |
daa2b7e7 JB |
6 | {% if form_errors(form.url) %} |
7 | <span class="black-text">{{ form_errors(form.url) }}</span> | |
8 | {% endif %} | |
053b9568 | 9 | |
daa2b7e7 | 10 | {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website'} }) }} |
053b9568 NL |
11 | |
12 | <div class="hidden">{{ form_rest(form) }}</div> | |
13 | </form> |