Commits

Casey Greene committed d35e057

add bootstrap class to form

Comments (0)

Files changed (1)

registration/forms.py

         self.helper = FormHelper()
         self.helper.form_method = 'post'
         self.helper.form_action = 'auth_login'
+        self.helper.form_class = 'well'
 
-        self.helper.add_input(Submit('submit', 'Log in'))
+        self.helper.add_input(Submit('submit', 'Log in', css_class="btn-primary"))
         super(CrispyAuthForm, self).__init__(*args, **kwargs)
 
 class RegistrationForm(forms.Form):