Skip to content

Commit b47270e

Browse files
authored
Merge pull request #1541 from plone/mrtango-fix-classicui-images
fix tal systax in classic-ui > images
2 parents 9cb6714 + 17562c0 commit b47270e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/classic-ui/images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ Or you can get the HTML tag back, and replace the current tag with it:
199199

200200
```xml
201201
<div tal:define="scale_view context/@@images">
202-
<img tal:replace="structured python: scale_view.tag('image', 'mini')">
202+
<img tal:replace="structure python: scale_view.tag('image', 'mini')">
203203
</div>
204204
```
205205

206206
You can also provide the following keyword arguments to set `title`, `alt`, or `css_class` for the generated tag:
207207

208208
```xml
209209
<div tal:define="scale_view context/@@images">
210-
<img tal:replace="structured python: scale_view.tag('banner', 'mini', title='The Banner', alt='Alternative text', css_class='banner')">
210+
<img tal:replace="structure python: scale_view.tag('banner', 'mini', title='The Banner', alt='Alternative text', css_class='banner')">
211211
</div>
212212
```
213213

0 commit comments

Comments
 (0)