use template element for badge template
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% from 'common/macros.html' import babycode_editor_component %}
|
||||
{% from 'common/macros.html' import babycode_editor_component, badge_editor_single %}
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}settings{% endblock %}
|
||||
{% block content %}
|
||||
@@ -68,4 +68,8 @@
|
||||
<a class="linkbutton critical" href="{{ url_for('users.delete_page', username=active_user.username) }}">Delete account</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<template id='badge-editor-template'>
|
||||
{{ badge_editor_single(options=uploads) }}
|
||||
</template>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user