pip install bootstrap4
pip install bootstrap-py
pip install django-bootstrap3
5
1
pip install django-bootstrap4
INSTALLED_APPS = (
# ...
"bootstrap4",
# ...
)
{% load bootstrap4 %}
<form action="/url/to/submit/" method="post" class="form">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
{% endbuttons %}
</form>
Thank you!
1
0
Are there any code examples left?
New code examples in category Shell/Bash