fnp
/
django-cas-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
be35c17
)
Adding class to remember me
author
dwickwire
<wickwire@gmail.com>
Sat, 28 Jan 2012 20:57:20 +0000
(14:57 -0600)
committer
dwickwire
<wickwire@gmail.com>
Sat, 28 Jan 2012 20:57:20 +0000
(14:57 -0600)
cas_provider/forms.py
patch
|
blob
|
history
diff --git
a/cas_provider/forms.py
b/cas_provider/forms.py
index
6bccf02
..
df62a41
100644
(file)
--- a/
cas_provider/forms.py
+++ b/
cas_provider/forms.py
@@
-7,7
+7,7
@@
class LoginForm(forms.Form):
email = forms.CharField(max_length=255)
password = forms.CharField(widget=forms.PasswordInput)
service = forms.CharField(widget=forms.HiddenInput, required=False)
email = forms.CharField(max_length=255)
password = forms.CharField(widget=forms.PasswordInput)
service = forms.CharField(widget=forms.HiddenInput, required=False)
- remember_me = forms.BooleanField(required=False, label="Keep me signed in")
+ remember_me = forms.BooleanField(required=False, label="Keep me signed in"
, widget=forms.CheckboxInput(attrs={'class':'remember_me'})
)
def __init__(self, *args, **kwargs):
# renew = kwargs.pop('renew', None)
def __init__(self, *args, **kwargs):
# renew = kwargs.pop('renew', None)