mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 10:34:21 +00:00
20 lines
456 B
Django/Jinja
20 lines
456 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 %}
|
|
|
|
|
|
|