Merge pull request #232 from lektor/checkboxes

[checkboxes] Fixing incorrect example; .id -> ._id
This commit is contained in:
Joseph Nix 2018-07-05 20:20:16 -05:00 committed by GitHub
commit 30b819ba5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}