Pridany zapomenute soubory.
This commit is contained in:
parent
8ce9475800
commit
5b0f23c2b1
2 changed files with 11 additions and 0 deletions
6
seminar/forms.py
Normal file
6
seminar/forms.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
from django import forms
|
||||||
|
|
||||||
|
class NameForm(forms.Form):
|
||||||
|
your_name = forms.CharField(label='Your name', max_length=100)
|
||||||
|
|
||||||
|
|
5
seminar/templates/seminar/prihlaska.html
Normal file
5
seminar/templates/seminar/prihlaska.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<form action="/prihlaska/" method="post">
|
||||||
|
{% csrf_token %}
|
||||||
|
{{ form }}
|
||||||
|
<input type="submit" value="Submit">
|
||||||
|
</form>
|
Loading…
Reference in a new issue