0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 03:31:04 +01:00

Update frontenddevelopers.rst

heading level fix
This commit is contained in:
Dave Cranwell 2014-06-20 13:49:25 +01:00
parent 8cb94f0b5c
commit c1f2f745af

View File

@ -190,8 +190,7 @@ Greater control over the ``img`` tag is often required, for example to add a cus
.. versionadded:: 0.4
Adding attributes to the {% image %} tag
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Adding attributes to the {% image %} tag**
Simply add extra attributes with the syntax ``attribute="value"`` to the tag:
@ -200,8 +199,8 @@ Simply add extra attributes with the syntax ``attribute="value"`` to the tag:
{% image self.photo width-400 class="foo" id="bar" %}
Generating the image "as"
~~~~~~~~~~~~~~~~~~~~~~~~~
**Generating the image "as"**
Wagtail can assign the image data to another object using Django's ``as`` syntax: