Skip to content
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

Rendering checkbox and it's label separately #559

Open
kennaar opened this issue Sep 17, 2019 · 1 comment
Open

Rendering checkbox and it's label separately #559

kennaar opened this issue Sep 17, 2019 · 1 comment

Comments

@kennaar
Copy link

kennaar commented Sep 17, 2019

I'm trying to render a checkbox and it's label separately using the form_label and form_widget helper methods. However the label is not rendering because of the way the checkbox template is doing it's checks on the passed in booleans.

How should this be resolved? Create a custom template? If possible I would rather not.

Thanks in advance.

@rudiedirkx
Copy link
Collaborator

However the label is not rendering because of the way the checkbox template is doing it's checks on the passed in booleans.

What does that mean? Is it a bug in our template? Both functions should follow the entire render procedure, only print a partial, so it should work. Why doesn't it? PRs very welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants