]>
Commit | Line | Data |
---|---|---|
2831e77c | 1 | <form class="input-field nav-panel-item nav-panel-add" style="display: none" name="entry" method="post" action="{{ path('new_entry')}}"> |
daa2b7e7 JB |
2 | {% if form_errors(form) %} |
3 | <span class="black-text">{{ form_errors(form) }}</span> | |
4 | {% endif %} | |
f86c2b5f | 5 | <button type="submit" class="nav-form-button"><i class="material-icons add">add</i></button> |
053b9568 | 6 | |
daa2b7e7 JB |
7 | {% if form_errors(form.url) %} |
8 | <span class="black-text">{{ form_errors(form.url) }}</span> | |
9 | {% endif %} | |
053b9568 | 10 | |
0d42217e | 11 | {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} |
2831e77c | 12 | <i class="material-icons close">clear</i> |
053b9568 | 13 | |
0d42217e | 14 | {{ form_rest(form) }} |
053b9568 | 15 | </form> |