diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2018-01-12 23:10:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 23:10:21 +0100 |
commit | fd637b9a5af28d432f775297ff19ba3f779d55b2 (patch) | |
tree | dc8fc13c8b09019cf0b5ac00f05a0f4a9656e5d0 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig | |
parent | 99e8c2785b9fc0cd9cc8674cb297a13a1035238f (diff) | |
parent | 5614df19cf3ed2be9d56853e5441412d4d09cff4 (diff) | |
download | wallabag-fd637b9a5af28d432f775297ff19ba3f779d55b2.tar.gz wallabag-fd637b9a5af28d432f775297ff19ba3f779d55b2.tar.zst wallabag-fd637b9a5af28d432f775297ff19ba3f779d55b2.zip |
Merge pull request #3541 from Simounet/feature/nav-label-replaced-by-buttons
Nav actions updated
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig index 0cf4fb74..e0d5e794 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig | |||
@@ -1,13 +1,15 @@ | |||
1 | <form name="entry" method="post" action="{{ path('new_entry')}}"> | 1 | <form class="input-field nav-panel-item nav-panel-add" style="display: none" name="entry" method="post" action="{{ path('new_entry')}}"> |
2 | {% if form_errors(form) %} | 2 | {% if form_errors(form) %} |
3 | <span class="black-text">{{ form_errors(form) }}</span> | 3 | <span class="black-text">{{ form_errors(form) }}</span> |
4 | {% endif %} | 4 | {% endif %} |
5 | <button type="submit" class="nav-form-button"><i class="material-icons add">add</i></button> | ||
5 | 6 | ||
6 | {% if form_errors(form.url) %} | 7 | {% if form_errors(form.url) %} |
7 | <span class="black-text">{{ form_errors(form.url) }}</span> | 8 | <span class="black-text">{{ form_errors(form.url) }}</span> |
8 | {% endif %} | 9 | {% endif %} |
9 | 10 | ||
10 | {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} | 11 | {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} |
12 | <i class="material-icons close">clear</i> | ||
11 | 13 | ||
12 | {{ form_rest(form) }} | 14 | {{ form_rest(form) }} |
13 | </form> | 15 | </form> |