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 %} %}
|
2023-12-17 00:12:49 +13:00
|
|
|
{% from 'bootstrap/form.html' import render_field %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
{% include 'admin/_nav.html' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<form method="post" enctype="multipart/form-data">
|
|
|
|
{{ form.csrf_token() }}
|
|
|
|
{{ render_field(form.name) }}
|
|
|
|
{{ render_field(form.description) }}
|
|
|
|
{{ render_field(form.icon) }}
|
|
|
|
{{ render_field(form.sidebar) }}
|
2024-01-06 17:21:39 +13:00
|
|
|
<p class="small field_hint">HTML is allowed in this field.</p>
|
2023-12-17 00:12:49 +13:00
|
|
|
{{ render_field(form.legal_information) }}
|
2024-01-06 17:21:39 +13:00
|
|
|
<p class="small field_hint">HTML is allowed in this field.</p>
|
2023-12-17 00:12:49 +13:00
|
|
|
{{ render_field(form.submit) }}
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|