test
This commit is contained in:
parent
6bb092a101
commit
e7f11e9556
38 changed files with 416 additions and 1365 deletions
14
membership/forms.py
Normal file
14
membership/forms.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
__author__ = 'tomislav'
|
||||
from django import forms
|
||||
|
||||
|
||||
class LoginForm(forms.Form):
|
||||
email = forms.EmailField(label="Email address", max_length=50,
|
||||
widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Enter email'}))
|
||||
password = forms.CharField(label='Password', max_length=50,
|
||||
widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Password','type':'password'}))
|
||||
|
||||
|
||||
class RegisterForm(LoginForm):
|
||||
name = forms.CharField(label='Name', max_length=50,
|
||||
widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder':'Enter name'}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue