First Commit
This commit is contained in:
commit
ce0758fbbb
496 changed files with 52062 additions and 0 deletions
12
guestbook/forms.py
Executable file
12
guestbook/forms.py
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
from django import forms
|
||||
|
||||
class CreateGuestbook(forms.Form):
|
||||
author = forms.CharField(
|
||||
max_length=150,
|
||||
label='',
|
||||
widget=forms.TextInput(attrs={'placeholder': 'Nom'})
|
||||
)
|
||||
content = forms.CharField(
|
||||
label='',
|
||||
widget=forms.Textarea(attrs={'placeholder': 'Message'})
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue