{"repo":"helloflask/bootstrap-flask","free":true,"listed":false,"github":"https://github.com/helloflask/bootstrap-flask","clone":"git clone https://github.com/helloflask/bootstrap-flask.git","description":"Bootstrap 4 & 5 helper for your Flask projects.","language":"SCSS","stars":1194,"topics":["jinja2","bootstrap-flask","flask-bootstrap","bootstrap","bootstrap4","flask","wtforms","flask-wtf","flask-sqlalchemy","bootstrap5"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Bootstrap-Flask Bootstrap-Flask is a collection of Jinja macros for Bootstrap 4 & 5 and Flask. It helps you to render Flask-related data and objects to Bootstrap markup HTML more easily: - Render Flask-WTF/WTForms form object to Bootstrap Form. - Render data objects (dict or class objects) to Bootstrap Table. - Render Flask-SQLAlchemy Pagination object to Bootstrap Pagination. - etc. Installation Example Register the extension: Assuming you have a Flask-WTF form like this: Now with the render form macro: You will get a form like this with only one line code (i.e. {{ render form(form) }} ): When the validation fails, the error messages will be rendered with proper style: Read the Basic Usage docs for more details. Live demo https://bootstrap-flask-example.azurewebsites.net/ Donate If you find Bootstrap-Flask useful, please consider donating today. Your donation keeps Bootstrap-Flask maintained and updated with Bootstrap. Links - Documentation - Example Application - PyPI Releases - Changelog - Discussions Notes for Bootstrap 4 & 5 support The Bootstrap 5 support is added in Bootstrap-Flask 2.0 version. Now you can use the separate extension class for different Bootstrap major versions. For Bootstrap 4, use the Bootstrap4 class: and import macros from the template path bootstrap4/ : For Bootstrap 5, use the Bootstrap5 class: and import macros from the template path bootstrap5/ : The Bootstrap class and bootstrap/ template path are deprecated since 2.0 and will be removed in 3.0","default_branch":null,"files":null,"tree":[],"storefront":"/r/helloflask","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/helloflask/bootstrap-flask/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}