2024-09-24 11:33:49 +12:00
|
|
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
|
|
|
{% extends 'themes/' + theme() + '/base.html' %}
|
|
|
|
{% else %}
|
|
|
|
{% extends "base.html" %}
|
2024-12-10 12:16:52 +01:00
|
|
|
{% endif %}
|
2024-09-24 11:33:49 +12:00
|
|
|
{% from 'bootstrap/form.html' import render_form %}
|
|
|
|
{% set active_child = 'admin_instances' %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col col-login mx-auto">
|
|
|
|
{% if topic %}
|
|
|
|
<h1>{{ _('Edit %(instance_name)s', instance_name=instance.domain) }}</h1>
|
|
|
|
{% endif %}
|
|
|
|
{{ render_form(form) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
{% include 'admin/_nav.html' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
{% endblock %}
|