2024-02-07 17:31:12 +13:00
|
|
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
|
|
|
{% extends 'themes/' + theme() + '/base.html' %}
|
|
|
|
{% else %}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% endif %} %}
|
2024-01-04 16:00:19 +13:00
|
|
|
{% from 'bootstrap/form.html' import render_form %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
{% include 'admin/_nav.html' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col col-login mx-auto">
|
|
|
|
{% if topic %}
|
|
|
|
<h3>{{ _('Edit %(topic_name)s', topic_name=topic.name) }}</h3>
|
|
|
|
{% endif %}
|
|
|
|
{{ render_form(form) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|