2022-05-03 21:28:20 +00: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 15:58:30 +00:00
|
|
|
{% if form_errors(form) %}
|
|
|
|
<span class="black-text">{{ form_errors(form) }}</span>
|
|
|
|
{% endif %}
|
2020-11-11 13:52:20 +00:00
|
|
|
<button type="submit" class="nav-form-button" aria-label="add"><i class="material-icons add" aria-hidden="true"></i></button>
|
2015-08-12 06:22:30 +00:00
|
|
|
|
2016-02-12 15:58:30 +00:00
|
|
|
{% if form_errors(form.url) %}
|
|
|
|
<span class="black-text">{{ form_errors(form.url) }}</span>
|
|
|
|
{% endif %}
|
2015-08-12 06:22:30 +00:00
|
|
|
|
2022-05-03 21:28:20 +00:00
|
|
|
{{ form_widget(form.url, {'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'}}) }}
|
2020-11-11 13:52:20 +00:00
|
|
|
<i class="material-icons close" aria-label="clear" role="button"></i>
|
2015-08-12 06:22:30 +00:00
|
|
|
|
2016-03-09 07:59:08 +00:00
|
|
|
{{ form_rest(form) }}
|
2015-08-12 06:22:30 +00:00
|
|
|
</form>
|