Private
Public Access
1
0

removing unencoded links to workout from templates

This commit is contained in:
Sander Roosendaal
2019-02-14 10:40:58 +01:00
parent e1aea90651
commit 5b2fbfcee0
41 changed files with 127 additions and 114 deletions

View File

@@ -12,7 +12,7 @@
<ul class="main-content">
<li class="grid_2">
<p>
<form enctype="multipart/form-data" action="/rowers/workout/{{ workout.id }}/split/" method="post">
<form enctype="multipart/form-data" action="/rowers/workout/{{ workout.id|encode }}/split/" method="post">
<table width=100%>
{{ form.as_table }}
</table>
@@ -42,7 +42,7 @@
</tr><tr>
<th>Public link to this workout</th>
<td>
<a href="/rowers/workout/{{ workout.id }}">https://rowsandall.com/rowers/workout/{{ workout.id }}</a>
<a href="/rowers/workout/{{ workout.id|encode }}">https://rowsandall.com/rowers/workout/{{ workout.id|encode }}</a>
<td>
</tr>
</table>