Tomas "Jethro" Pokorny
6 years ago
2 changed files with 11 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||
|
from django import forms |
||||
|
|
||||
|
class NameForm(forms.Form): |
||||
|
your_name = forms.CharField(label='Your name', max_length=100) |
||||
|
|
||||
|
|
@ -0,0 +1,5 @@ |
|||||
|
<form action="/prihlaska/" method="post"> |
||||
|
{% csrf_token %} |
||||
|
{{ form }} |
||||
|
<input type="submit" value="Submit"> |
||||
|
</form> |
Loading…
Reference in new issue