diff options
author | hardythe1 | 2014-04-09 17:24:10 +0530 |
---|---|---|
committer | hardythe1 | 2014-04-09 17:24:10 +0530 |
commit | 9a8b53230e7fcf457ce5668f7322844bcde1b196 (patch) | |
tree | fb68e989240cfe197d4150f565d10589dccde77f /tbc/forms.py | |
parent | 1b88bd5296f5a748b574ae68549d874c6fa95c7b (diff) | |
download | Python-TBC-Interface-9a8b53230e7fcf457ce5668f7322844bcde1b196.tar.gz Python-TBC-Interface-9a8b53230e7fcf457ce5668f7322844bcde1b196.tar.bz2 Python-TBC-Interface-9a8b53230e7fcf457ce5668f7322844bcde1b196.zip |
adding password reset form
Diffstat (limited to 'tbc/forms.py')
-rw-r--r-- | tbc/forms.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tbc/forms.py b/tbc/forms.py index 3fb9932..8fc6e22 100644 --- a/tbc/forms.py +++ b/tbc/forms.py @@ -42,6 +42,16 @@ class UserLoginForm(forms.Form): 'placeholder': 'Password'}), label='') +class PasswordResetForm(forms.Form): + new_password = forms.CharField(widget=forms.PasswordInput(attrs={ + 'class': 'form-control', + 'placeholder': 'New Password'}), label='') + confirm_new_password = forms.CharField(widget=forms.PasswordInput(attrs={ + 'class': 'form-control', + 'placeholder': 'Confirm New Password'}), label='') + + + class BookForm(forms.ModelForm): def __init__(self, *args, **kwargs): super(BookForm, self).__init__(*args, **kwargs) |