Refactor icon rendering; replace direct icon calls with render_icon function for consistency across templates

This commit is contained in:
Yaro Kasear 2025-06-20 08:44:55 -05:00
parent 89cee64f04
commit 30d3cd7c45
7 changed files with 15 additions and 128 deletions

View file

@ -8,10 +8,10 @@
<div class="input-group">
<input type="text" class="form-control rounded-bottom-0" id="{{ id }}-input"{% if placeholder %} placeholder="{{ placeholder }}"{% endif %}>
<button type="button" class="btn btn-primary rounded-bottom-0" id="{{ id }}-add" disabled>
{{ icons.plus(16) }}
{{ icons.render_icon('plus-lg', 16) }}
</button>
<button type="button" class="btn btn-danger rounded-bottom-0" id="{{ id }}-remove" disabled>
{{ icons.minus(16) }}
{{ icons.render_icon('dash-lg', 16) }}
</button>
</div>
<select class="form-select border-top-0 rounded-top-0" id="{{ id }}-list" name="{{ id }}" size="10" multiple>