Refactor icon rendering; update render_icon macro to accept extra_class parameter and adjust button icons in combobox for better state management

This commit is contained in:
Yaro Kasear 2025-06-20 09:10:14 -05:00
parent 30d3cd7c45
commit d3a9b6dbd5
6 changed files with 13 additions and 21 deletions

View file

@ -72,10 +72,3 @@
</div>
</form>
{% endblock %}
{% block script %}
const icons = {
add: `{{ icons.render_icon('plus', 16)|safe }}`,
edit: `{{ icons.render_icon('pencil', 16)|safe }}`,
};
{% endblock %}