You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
374 B
11 lines
374 B
from django import forms
|
|
|
|
class CodeForm(forms.Form):
|
|
code = forms.CharField(label='Code', max_length=8, required=True,
|
|
widget=forms.TextInput(
|
|
attrs={'placeholder': '123A56'}
|
|
))
|
|
email = forms.EmailField(label='Email', max_length=32, required=True,
|
|
widget=forms.TextInput(
|
|
attrs={'placeholder': 'jane@joe.com'}
|
|
)) |