From: Luc Didry Date: Tue, 8 Oct 2019 22:57:08 +0000 (+0200) Subject: 🐛 — Fix duplicated icons on "Search engine" and "new link" forms X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=652cb58d59c9cb3d1f448914e0568e87eba90b16;p=github%2Fwallabag%2Fwallabag.git 🐛 — Fix duplicated icons on "Search engine" and "new link" forms --- 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 e0d5e794..4cf81167 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 @@ -2,14 +2,14 @@ {% if form_errors(form) %} {{ form_errors(form) }} {% endif %} - + {% if form_errors(form.url) %} {{ form_errors(form.url) }} {% endif %} {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }} - clear + {{ form_rest(form) }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig index ba1b3aac..0ae8b0b3 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig @@ -2,7 +2,7 @@ {% if form_errors(form) %} {{ form_errors(form) }} {% endif %} - + {% if form_errors(form.term) %} {{ form_errors(form.term) }} @@ -11,7 +11,7 @@ {{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.search.placeholder'} }) }} - clear + {{ form_rest(form) }}