diff --git a/seminar/templates/seminar/org/vloz_reseni.html b/seminar/templates/seminar/org/vloz_reseni.html index 4339e0e3..bfe4f6f6 100644 --- a/seminar/templates/seminar/org/vloz_reseni.html +++ b/seminar/templates/seminar/org/vloz_reseni.html @@ -9,9 +9,13 @@ {% block content %}

{% block nadpis1a %}{% block nadpis1b %} - Přihláška do semináře + Vložit řešení {% endblock %}{% endblock %}

+
+ {% csrf_token %} {{form.as_p}} + +
{% endblock %} diff --git a/seminar/urls.py b/seminar/urls.py index 84775838..bc1c89a8 100644 --- a/seminar/urls.py +++ b/seminar/urls.py @@ -117,7 +117,7 @@ urlpatterns = [ path('auth/resitel_edit', views.resitelEditView, name='seminar_resitel_edit'), - path('temp/add_solution', views.AddSolutionView.as_view()), + path('temp/add_solution', views.AddSolutionView.as_view(),name='seminar_vloz_reseni'), path('', views.TitulniStranaView.as_view(), name='titulni_strana'),