]>
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 | |
0d42217e | 10 | {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} |
053b9568 | 11 | |
0d42217e | 12 | {{ form_rest(form) }} |
053b9568 | 13 | </form> |