2022-05-03 23:28:20 +02:00
|
|
|
<form class="input-field nav-panel-item nav-panel-add" style="display: none" name="entry" method="post" action="{{ path('new_entry') }}">
|
2016-02-12 16:58:30 +01:00
|
|
|
{% if form_errors(form) %}
|
|
|
|
<span class="black-text">{{ form_errors(form) }}</span>
|
|
|
|
{% endif %}
|
2020-11-11 14:52:20 +01:00
|
|
|
<button type="submit" class="nav-form-button" aria-label="add"><i class="material-icons add" aria-hidden="true"></i></button>
|
2015-08-12 08:22:30 +02:00
|
|
|
|
2016-02-12 16:58:30 +01:00
|
|
|
{% if form_errors(form.url) %}
|
|
|
|
<span class="black-text">{{ form_errors(form.url) }}</span>
|
|
|
|
{% endif %}
|
2015-08-12 08:22:30 +02:00
|
|
|
|
2022-05-03 23:28:20 +02:00
|
|
|
{{ form_widget(form.url, {'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'}}) }}
|
2020-11-11 14:52:20 +01:00
|
|
|
<i class="material-icons close" aria-label="clear" role="button"></i>
|
2015-08-12 08:22:30 +02:00
|
|
|
|
2016-03-09 08:59:08 +01:00
|
|
|
{{ form_rest(form) }}
|
2015-08-12 08:22:30 +02:00
|
|
|
</form>
|