mirror of
https://github.com/ae-utbm/sith.git
synced 2026-02-11 09:58:16 +00:00
reuse last PageRev if same author and short time diff
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
{% from 'core/macros_pages.jinja' import page_edit_form %}
|
||||
|
||||
{% block content %}
|
||||
{{ page_edit_form(form, url('club:club_edit_page', club_id=page.club.id)) }}
|
||||
<h2>{% trans %}Edit page{% endtrans %}</h2>
|
||||
<form action="{{ url('club:club_edit_page', club_id=page.club.id) }}" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p() }}
|
||||
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user