mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 02:11:05 +01:00
Merge pull request #4726 from Simounet/fix/duplicated-icons
Fix duplicated icons
This commit is contained in:
commit
49adc3832a
@ -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">add</i></button>
|
||||
<button type="submit" class="nav-form-button" aria-label="add"><i class="material-icons add" aria-hidden="true"></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">close</i>
|
||||
<i class="material-icons close" aria-label="clear" role="button"></i>
|
||||
|
||||
{{ form_rest(form) }}
|
||||
</form>
|
||||
|
@ -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">search</i></button>
|
||||
<button type="submit" class="nav-form-button" aria-label="search"><i class="material-icons search" aria-hidden="true"></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">close</i>
|
||||
<i class="material-icons close" aria-label="clear" role="button"></i>
|
||||
|
||||
{{ form_rest(form) }}
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user