Example #1
0
 def __init__(self, *args, **kwargs):
     super(LoginForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(["username", "password"], "signin",
                                        "Sign in")
Example #2
0
 def __init__(self, *args, **kwargs):
     super(ProfileForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(list(self.Meta.fields), "save",
                                        "Save")
Example #3
0
 def __init__(self, *args, **kwargs):
     super(RegistrationForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(
         ["username", "email", "password1", "password2"], "register",
         "Register")
Example #4
0
 def __init__(self, *args, **kwargs):
     super(RegistrationForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(
         ['username', 'email', 'password1', 'password2'], 'register',
         "Register")
Example #5
0
 def __init__(self, *args, **kwargs):
     super(LoginForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(['username', 'password'], 'signin',
                                        "Sign in")
Example #6
0
 def __init__(self, *args, **kwargs):
     super(ProfileForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(list(self.Meta.fields),
                                        'save', "Save")
Example #7
0
 def __init__(self, *args, **kwargs):
     super(LoginForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(
         ['username', 'password'], 'signin', "Sign in"
     )
Example #8
0
 def __init__(self, *args, **kwargs):
     super(RegistrationForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(
         ['username', 'email', 'password1', 'password2'],
         'register', "Register"
     )
Example #9
0
 def __init__(self, *args, **kwargs):
     super(LoginForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(
         ["username", "password"], "signin", "Sign in"
     )
Example #10
0
 def __init__(self, *args, **kwargs):
     super(RegistrationForm, self).__init__(*args, **kwargs)
     self.helper = get_bootstrap_helper(
         ["username", "email", "password1", "password2"], "register", "Register"
     )