diff --git a/README b/README index b8a624e..21bd086 100644 --- a/README +++ b/README @@ -2,8 +2,10 @@ Generate twitter-bootstrap form output for django form A django template tag to work with twitter bootstrap ( http://twitter.github.com/bootstrap/ ) -usage: +Installation: +Add 'bootstrapform' to INSTALLED_APPS. +Template usage: {% load bootstrap %} {{ form|bootstrap }} diff --git a/bootstrapform/meta.py b/bootstrapform/meta.py index ed62168..f1028b4 100644 --- a/bootstrapform/meta.py +++ b/bootstrapform/meta.py @@ -1,5 +1,5 @@ from distutils.version import StrictVersion -VERSION = StrictVersion('0.1.0') +VERSION = StrictVersion('0.2.0') diff --git a/bootstrapform/templates/bootstrapform/form.html b/bootstrapform/templates/bootstrapform/form.html index 173b5a5..e22d708 100644 --- a/bootstrapform/templates/bootstrapform/form.html +++ b/bootstrapform/templates/bootstrapform/form.html @@ -1,7 +1,13 @@ {% load bootstrap %} -{% for field in form %} -