mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-16 11:13:23 +00:00
15 lines
341 B
Django/Jinja
15 lines
341 B
Django/Jinja
{% extends "core/page.jinja" %}
|
|
{% from 'core/macros_pages.jinja' import markdown_preview_script, page_edit_form %}
|
|
|
|
{% block head %}
|
|
{{ super() }}
|
|
{{ markdown_preview_script(csrf_token) }}
|
|
{% endblock %}
|
|
|
|
{% block page %}
|
|
{{ page_edit_form(page, form, url('core:page_edit', page_name=page.get_full_name()), csrf_token) }}
|
|
{% endblock %}
|
|
|
|
|
|
|