Forms | Prace na vkladani reseni.
This commit is contained in:
parent
a674d837ae
commit
e63253f848
2 changed files with 6 additions and 2 deletions
|
@ -9,9 +9,13 @@
|
|||
{% block content %}
|
||||
<h1>
|
||||
{% block nadpis1a %}{% block nadpis1b %}
|
||||
Přihláška do semináře
|
||||
Vložit řešení
|
||||
{% endblock %}{% endblock %}
|
||||
</h1>
|
||||
<form action="{% url 'seminar_vloz_reseni' %}" method="post">
|
||||
{% csrf_token %}
|
||||
{{form.as_p}}
|
||||
<input type="submit" value="Vložit">
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -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'),
|
||||
|
||||
|
|
Loading…
Reference in a new issue