From f4790b229c76606e8e1bf0b0ff536ae99357bbbb Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Sun, 18 Jul 2010 13:32:08 +0800 Subject: [PATCH] Improve appearance of code samples --- README.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 2838a6d..ed73cf4 100644 --- a/README.rst +++ b/README.rst @@ -59,17 +59,18 @@ First, make sure you're linking to a copy of jQuery. It's recommended that you Beyond jQuery, django-uni-form requires three media files. You can see how we call them by looking in the templates/includes.html file. You can call those files in several ways. -1. The best way is probably to copy this HTML into your templates. (This allows you to make use of django_compressor, a dead easy media compressor for Django that's also hosted here on github.) +1. The best way is probably to copy this HTML into your templates. (This allows you to make use of django_compressor, a dead easy media compressor for Django that's also hosted here on github.) Here's the HTML:: - + + 2. Another way is to use Django's built-in **includes** template tag:: {% include "uni_form/includes.html" %} -3. A third way is to use the django-uni-form **uni_form_setup** template tag. You'll need some additional setup for this. +3. A third way is to use the django-uni-form **uni_form_setup** template tag. Note that you'll need some additional setup for this:: {% uni_form_setup %}