use template element for badge template

This commit is contained in:
2025-12-15 19:34:16 +03:00
parent b2d16e305d
commit c655caab9e
7 changed files with 13 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
{% from 'common/macros.html' import badge_editor_single with context %}
{% from 'common/macros.html' import badge_editor_single %}
{% for badge in badges %}
{{ badge_editor_single(options=uploads, selected=badge.upload, badge=badge) }}
{% endfor %}

View File

@@ -1,2 +1,2 @@
{% from 'common/macros.html' import badge_editor_single with context %}
{% from 'common/macros.html' import badge_editor_single %}
{{ badge_editor_single(options=uploads) }}