Refactor icon rendering; replace direct icon calls with render_icon function for consistency across templates
This commit is contained in:
parent
89cee64f04
commit
30d3cd7c45
7 changed files with 15 additions and 128 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue