Skip to content

Commit

Permalink
Merge pull request #67 from DrMeers/master
Browse files Browse the repository at this point in the history
Fix minor errors in examples
  • Loading branch information
brutasse committed May 2, 2013
2 parents 954059a + c1b6d8d commit a01cef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ If we have an image set for the field, display the image and propose to clear or
template_name = 'floppyforms/image_thumbnail.html'
class ImageForm(forms.ModelForm):
class ImageForm(forms.ModelForm):
class Meta:
model = Item
fields = ('image',)
Expand All @@ -251,6 +251,6 @@ If we have an image set for the field, display the image and propose to clear or
{% endif %}
<input type="{{ type }}" name="{{ name }}"{% if required %} required{% endif %}{% include "floppyforms/attrs.html" %}>
You know have your image:
You now have your image:

.. image:: images/image_with_thumbnail.png

0 comments on commit a01cef5

Please sign in to comment.