Python library as a Bootstrap 4 helper for Flask/Jinja2.
Questions tagged [bootstrap-flask]
6 questions
2
votes
1 answer
Migrating from Flask-Bootstrap to Bootstrap-Flask
I started developing my Flask web app using Flask-Bootstrap (which uses Bootstrap V3) but now find I need Bootstrap 4 features. After a bit of searching it seems that Bootstrap-Flask should do the job. It is a fork of Flask-Bootstrap for V4.
However…

nakb
- 321
- 1
- 3
- 16
1
vote
2 answers
flask-mongoengine model_form is missing a submit field - how do I append one to the form?
I am using generic MethodViews in my Flask application together with Flask-MongoEngine. I am also trying to automate form creation based on the given model by using the model_form(db_model) function. Lastly, I am trying to let Bootstrap-Flask take…

Todor Todorov
- 109
- 1
- 9
1
vote
2 answers
Failed to pass variable to macro arguments when using Bootstrap-Flask
I was first using Flask bootstrap and it worked
{% import "bootstrap/wtf.html" as wtf %}

ble
- 287
- 1
- 5
1
vote
0 answers
FLASK, Requested URL not found on the server
ISSUE
I am making a CRUD in Flask. I have a user that has positions, and I would like to update a specific position.
The "URL was not found" problem occurs when I click on the anchor link in user_positions.html.
I am using WTF Forms, SQLalchemy,…

Walter Clayton
- 141
- 2
- 7
1
vote
1 answer
How to remove spacing between form fields while using Bootstrap Flask's render_form_row
How can I use something like "no-gutters" while using this render_form_row bootstrap-flask function?
https://bootstrap-flask.readthedocs.io/en/stable/macros.html#id10
I tried the following and it did not work
{{ render_form_row([form.variable1,…

Andrew Clark
- 850
- 7
- 13
0
votes
1 answer
Override default CSS classes using WTForms' render_kw()
In a Flask app with the Bootstrap-Flask extension, how would one override the default style using WTForms' render_kw class parameter when the form's HTML is automatically rendered using render_form()? [*]
I have this simple Form defined that…

Emilien
- 2,971
- 2
- 22
- 32