Commit 225c934a authored by Michel Pelletier's avatar Michel Pelletier

documented 'css_class'

parent 8bb5cca3
...@@ -145,8 +145,12 @@ class Image: ...@@ -145,8 +145,12 @@ class Image:
provided by default, and 'alt' comes from the 'title_or_id' provided by default, and 'alt' comes from the 'title_or_id'
method. method.
Keyword arguments may be provided to support other or future Keyword arguments may be provided to support other or future IMG
IMG tag attributes. tag attributes. The one exception to this is the HTML Cascading
Style Sheet tag 'class'. Because the word 'class' is a reserved
keyword in Python, you must instead use the keyword argument
'css_class'. This will be turned into a 'class' HTML tag attribute
on the rendered 'img' tag.
Permission -- 'View' Permission -- 'View'
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment