Maybe it's because you have instructed crispy to not generate the form tag and
you have not added it yourself in the HTML code.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
Also, do you have any FormActions defined? That's where the Bootstrap
button comes from:
http://django-crispy-forms.readthedocs.io/en/latest/layouts.html#bootstrap-layout-objects
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
Hello Taufiq —
Have you tried using the "instance level helper"?
See
http://django-crispy-forms.readthedocs.io/en/latest/crispy_tag_forms.html#crispy-tag-with-forms
>From the docs link above:
from crispy_forms.helper import FormHelper
class ExampleForm(forms.Form):
[...]
def
Hey guys. I'm having trouble with Crispy forms with my models. The form
shows up plain without the bootstrap and there seems to be no save button
which i need to save data to my model. I have tried many ways and tutorials
but have failed. Any help would be highly appreciated!
forms.py
from
4 matches
Mail list logo