trotFunky
67ce54e992
- Create a new migration adding a Weeks table, allowing for new weekly introductions and paving the way for multiple week handling. - Add route to update the weekly introduction - Move the week rendering to a specific week file - Update the templates to use the week number from the week data - Update templates to render and edit weekly introductions
8 lines
264 B
Text
8 lines
264 B
Text
<div class="individual_truth">
|
|
<h3>Vérité {{ truth.number }}</h3>
|
|
<p>{{ truth.rendered_text | safe }}</p>
|
|
<hr/>
|
|
<form action="/{{ week_data.number }}/edit/{{ truth.number }}" method="POST">
|
|
{% include "truth_editor" %}
|
|
</form>
|
|
</div>
|