2017-12-28 21:54:42 +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 %}
|
2019-10-08 22:57:08 +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
|
|
|
|
2016-03-09 07:59:08 +00:00
|
|
|
{{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }}
|
2019-10-08 22:57:08 +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>
|