helloflask / bootstrap-flask

Bootstrap 4 & 5 helper for your Flask projects.
https://bootstrap-flask.readthedocs.io
Other
1.1k stars 189 forks source link

rendering labels and description with classes #349

Open PanderMusubi opened 6 months ago

PanderMusubi commented 6 months ago

Labels and descriptions of form inputs do not use CSS classes provided to the field constructor via render_kw. This allows for this via Bootstrap classes and custom classes on individual fields. Implemented only for Bootstrap 5, example application shows all combinations needed to test the new functionality. Documentation has been written. After a review, test for pytest will be added.

PanderMusubi commented 6 months ago

I will also update the verbatum code examples in form.html.

PanderMusubi commented 5 months ago

tests added and bugfix normal labels