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