templates: Move week-related includes to a folder
In preparation to adding a new page, move the week-related included files in a specific sub-folder. Change includes accordingly.
This commit is contained in:
parent
36b2e61e26
commit
afdac98dea
4 changed files with 4 additions and 4 deletions
|
@ -102,9 +102,9 @@
|
|||
{% set truth_index = truth.number - index_delta %}
|
||||
|
||||
{% if user.is_admin == true %}
|
||||
{% include "editable_truth" %}
|
||||
{% include "weeks/editable_truth" %}
|
||||
{% else %}
|
||||
{% include "truth" %}
|
||||
{% include "weeks/truth" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
@ -125,7 +125,7 @@
|
|||
<div class="individual_truth">
|
||||
<h3>Nouvelle vérité</h3>
|
||||
<form action="/{{ week_data.number }}/new_truth" method="POST">
|
||||
{% include "truth_editor" %}
|
||||
{% include "weeks/truth_editor" %}
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
<p>{{ truth.rendered_text | safe }}</p>
|
||||
<hr/>
|
||||
<form action="/{{ week_data.number }}/edit/{{ truth.number }}" method="POST">
|
||||
{% include "truth_editor" %}
|
||||
{% include "weeks/truth_editor" %}
|
||||
</form>
|
||||
</div>
|
Loading…
Add table
Reference in a new issue