blob: 42f3c2cf043c2e93f7ddfdc342158f56d34ce5cc (
plain) (
tree)
|
|
<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="new-entry-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>
|