RETIRED, further work has moved to Debian project infrastructure
Go to file
tzangms c1d6120917 Merge pull request #10 from mpapierski/master
merge 'Non field errors are shown as error alerts.'
2012-03-07 18:07:51 -08:00
bootstrapform Non field errors are shown as error alerts. 2012-03-08 02:48:45 +01:00
.gitignore initial commit 2011-08-21 09:07:02 -07:00
LICENSE add LICENSE 2011-09-13 20:59:07 -07:00
MANIFEST.in fix setup.py with MANIFEST.in 2012-02-14 21:23:14 +08:00
README.rst added ability to output individual fields 2012-02-29 18:42:10 +00:00
setup.py modify setup.py 2012-02-14 18:37:20 +08:00

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