Merge pull request #232 from lektor/checkboxes
[checkboxes] Fixing incorrect example; .id -> ._id
This commit is contained in:
commit
30b819ba5d
|
@ -43,7 +43,7 @@ source = record.attachments.images
|
||||||
|
|
||||||
```html+jinja
|
```html+jinja
|
||||||
{% for image in this.attachments.images %}
|
{% for image in this.attachments.images %}
|
||||||
{% if image.id in this.slideshow %}
|
{% if image._id in this.slideshow %}
|
||||||
<img src="{{ image.thumbnail(500) }}" class="slide">
|
<img src="{{ image.thumbnail(500) }}" class="slide">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue