Fix icons not showing aside nav forms

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-08-25 13:52:37 +02:00
parent 092cab5695
commit 07dab0dbc9
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 4 additions and 4 deletions

View file

@ -2,14 +2,14 @@
{% if form_errors(form) %}
<span class="black-text">{{ form_errors(form) }}</span>
{% endif %}
<button type="submit" class="nav-form-button" aria-label="add"><i class="material-icons add" aria-hidden="true"></i></button>
<button type="submit" class="nav-form-button" aria-label="add"><i class="material-icons add" aria-hidden="true">add</i></button>
{% if form_errors(form.url) %}
<span class="black-text">{{ form_errors(form.url) }}</span>
{% endif %}
{{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder'} }) }}
<i class="material-icons close" aria-label="clear" role="button"></i>
<i class="material-icons close" aria-label="clear" role="button">close</i>
{{ form_rest(form) }}
</form>

View file

@ -2,7 +2,7 @@
{% if form_errors(form) %}
<span class="black-text">{{ form_errors(form) }}</span>
{% endif %}
<button type="submit" class="nav-form-button" aria-label="search"><i class="material-icons search" aria-hidden="true"></i></button>
<button type="submit" class="nav-form-button" aria-label="search"><i class="material-icons search" aria-hidden="true">search</i></button>
{% if form_errors(form.term) %}
<span class="black-text">{{ form_errors(form.term) }}</span>
@ -11,7 +11,7 @@
<input type="hidden" name="currentRoute" value="{{ currentRoute }}" />
{{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.search.placeholder'} }) }}
<i class="material-icons close" aria-label="clear" role="button"></i>
<i class="material-icons close" aria-label="clear" role="button">close</i>
{{ form_rest(form) }}
</form>