Permalink
Browse files

Adding J0hnsmith as a contributor and documenting use of the safe fil…

…ter on form.field labels
  • Loading branch information...
1 parent cf1d7fc commit e415dd21a76acaf8831df7a5920325ece6ff8f36 @pydanny pydanny committed Apr 26, 2010
Showing with 8 additions and 2 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −0 CONTRIBUTORS.txt
  3. +3 −2 README.rst
View
@@ -15,6 +15,10 @@ For 0.8.0
* django-uni-form 0.8 and higher lays out the HTML for the uni_form tag differently. The errorMsg div is now outside the fieldset as it should be.
* Thanks to Casper S. Jensen django-uni-form now supports 1.2 style csrf_token.
* csrf_token does not break earlier versions of Django. This will change when no version of django does not support csrf_token.
+ * Thanks to j0hnsmith changed {{ error }} to {{ error|safe }} so that html (eg links) can be
+ added to error messages.
+ * Thanks to j0hnsmith changed {{ field.label }} to {{ field.label|safe }} so that html (eg
+ links) can be added to field labels
For 0.7.0
View
@@ -13,6 +13,7 @@ bjunix
Casper S. Jensen <semadk>
Chris Adams <acdha>
Eddy Mulyono <eddymul>
+j0hnsmith
James Pic <jamespic.com>
James Tauber <jtauber>
Karl Bowden <agentk>
View
@@ -10,7 +10,9 @@ format.
`Uni-form`_ has been selected as the base model for the design of the forms.
-**Note:** django-uni-form 0.8 and higher lays out the HTML for the uni_form tag differently. The errorMsg div is now outside the fieldset as it should be.
+**Warning:** django-uni-form 0.8 and higher renders django.form.field labels with the 'safe' filter. If you have user generated form field labels you should take this into consideration.
+
+**Note:** django-uni-form 0.8 and higher lays out the HTML for the uni_form tag differently than previous versions. The errorMsg div is now outside the fieldset as it should be.
**Note:** django-uni-form 0.7 and higher breaks backwards compatibility with previous versions of django-uni-form. All you have to do is update templates that call on the django-uni-form template tag from::
@@ -102,7 +104,6 @@ django-uni-form implements form fields in html differently than the standard Uni
cd uni_form/
cp <my-site-packages>/Django-uni-form/uni_form/templates/field.strict.html field.html
-
----
Usage

0 comments on commit e415dd2

Please sign in to comment.