597 B
597 B
Django bootatrap form
Generate twitter-bootstrap form output for django form
A django template tag to work with twitter bootstrap ( http://twitter.github.com/bootstrap/ )
Installation
$ pip install django-bootstrap-form
for people who still use older version before twitter bootstrap 2.0
$ pip install django-bootstrap-form==0.2
Configuration
Add 'bootstrapform' to INSTALLED_APPS.
Usage
{% load bootstrap %}
{{ form|bootstrap }}
{{ form.<field name>|bootstrap }} - To output individual fields