mirror of
https://github.com/wallabag/wallabag.git
synced 2024-05-31 23:48:06 +00:00
15 lines
472 B
Twig
15 lines
472 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_label(form.url) }}
|
|
{{ form_widget(form.url, {'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'}}) }}
|
|
|
|
{{ form_rest(form) }}
|
|
</form>
|