-
-
Notifications
You must be signed in to change notification settings - Fork 731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrap3 form-horizontal - StrictButton alignment #268
Comments
Closing this in favour of #452. Please follow along there. (If you still have this problem after the new release, shout and we can reopen) |
This is still an issue for me. I tried version 1.6.0 and also the dev branch. |
I had the same problem. I just wrapped the StrictButton into a FormActions as mentionned here : self.helper.layout = Layout( |
Setting:
self.helper.form_class = 'form-horizontal'
self.helper.label_class = 'col-lg-2'
self.helper.field_class = 'col-lg-8'
helper.layout = Layout(
'email',
'password',
'remember_me',
StrictButton('Sign in', css_class='btn-default'),
)
Does not render the button like the documentation screenshot. It is aligned to the labels instead of the fields.
Not conform to https://django-crispy-forms.readthedocs.org/en/latest/crispy_tag_forms.html#bootstrap3-horizontal-forms
Thanks!
The text was updated successfully, but these errors were encountered: