move page templates to their own folder

This commit is contained in:
imperosol
2025-11-10 15:08:38 +01:00
parent d50bb0d9b1
commit 30e76a5e39
8 changed files with 13 additions and 13 deletions

View File

@@ -0,0 +1,19 @@
{% extends "core/page/base.jinja" %}
{% block content %}
{% if page %}
{{ super() }}
{% endif %}
<h2>{% trans %}Page properties{% endtrans %}</h2>
<form action="" method="post">
{% csrf_token %}
{{ form.as_p() }}
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
</form>
{% if page %}
<a href="{{ url('core:page_delete', page_id=page.id)}}">{% trans %}Delete{% endtrans %}</a>
{% endif %}
{% endblock %}