blob: 8d5d053e03bea67aa9b776b2b0b8d09f8ea5a8f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<form name="entry" method="post" action="{{ path('new_entry')}}">
{% if form_errors(form) %}
<span class="black-text">{{ form_errors(form) }}</span>
{% endif %}
<button type="submit" class="nav-form-button"><i class="material-icons add">add</i></button>
{% if form_errors(form.url) %}
<span class="black-text">{{ form_errors(form.url) }}</span>
{% endif %}
{{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }}
{{ form_rest(form) }}
</form>
|