Commits

Vladimir Korsun  committed c9e830e

Fix README examples.

  • Participants
  • Parent commits 713180d
  • Tags 1.2

Comments (0)

Files changed (2)

 
     {% field form.title class="announce" %}
 
-    {% field form.tags placeholder=field.help_text %}
+    {% field form.tags placeholder=form.tags.help_text %}
 
     {% if form.title|is_widget:"TextInput" %}
         <h1>Title is TextInput</h1>
     {% endif %}
 
+    {% if field|is_widget:"Textarea,TextInput" %}
+        {% field field placeholder=field.help_text %}
+    {% endif %}
 
 setup(
     name='django-field-attributes',
-    version='1.1',
+    version='1.2',
     packages=['django-field-attributes',
               'django-field-attributes.templatetags'],
     url='http://bitbucket.org/amigo/django-field-attributes',