Skip to content

Latest commit

 

History

History
36 lines (18 loc) · 598 Bytes

README.rst

File metadata and controls

36 lines (18 loc) · 598 Bytes

Django bootstrap 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