Private
Public Access
1
0

adding template edit functionality

This commit is contained in:
Sander Roosendaal
2020-02-01 15:25:52 +01:00
parent 170fb3c8b6
commit aca8f28457
8 changed files with 346 additions and 12 deletions

View File

@@ -16,6 +16,8 @@
<p>
<a href="/rowers/sessions/{{ psdict.id.1 }}/edit/user/{{ rower.user.id }}">
Edit Session</a>
/
<a href="/rowers/sessions/{{ psdict.id.1 }}/maketemplate/?next={{ request.path|urlencode }}">Save to template</a>
</p>
{% endif %}
<h1>Session {{ psdict.name.1 }}</h1>
@@ -157,11 +159,11 @@
<li class="grid_2">
<h2>Course</h2>
{{ coursediv|safe }}
{{ coursescript|safe }}
</li>
{% endif %}
</ul>