mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-23 16:21:22 +00:00
20 lines
434 B
Django/Jinja
20 lines
434 B
Django/Jinja
{% extends "core/page.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 %}
|
|
|
|
|
|
|