diff options
Diffstat (limited to 'templates/subscribe.html')
-rw-r--r-- | templates/subscribe.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/subscribe.html b/templates/subscribe.html index b1aa71b..2cd6d87 100644 --- a/templates/subscribe.html +++ b/templates/subscribe.html @@ -1,10 +1,10 @@ {% extends "index.html" %} -{% block title %}S'abonner à {{ timetable.name }} – {{ group.name }}{% endblock %} +{% block title %}S'abonner à {{ group.timetable.name }} – {{ group.name }}{% endblock %} {% block body %} - <h2>S'abonner à {{ timetable.name }} – {{ group.name }}</h2> - <form action="{% url "subscribe" timetable.slug year week group.slug %}" method="post"> + <h2>S'abonner à {{ group.timetable.name }} – {{ group.name }}</h2> + <form action="{% url "subscribe" group.slug year week %}" method="post"> {% csrf_token %} {{ form }} <input type="submit" value="S'abonner" /> |