mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-26 00:50:44 +00:00
14 lines
461 B
Twig
14 lines
461 B
Twig
<form name="entry" method="post" action="{{ path('new_entry')}}">
|
|
{% if form_errors(form) %}
|
|
<span class="black-text">{{ form_errors(form) }}</span>
|
|
{% endif %}
|
|
|
|
{% if form_errors(form.url) %}
|
|
<span class="black-text">{{ form_errors(form.url) }}</span>
|
|
{% endif %}
|
|
|
|
{{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website'} }) }}
|
|
|
|
<div class="hidden">{{ form_rest(form) }}</div>
|
|
</form>
|