Skip to content

Commit

Permalink
[BUGFIX] Correct Templates (#485)
Browse files Browse the repository at this point in the history
They are currently causing an error because of unmatched types
  • Loading branch information
linawolf authored Jan 27, 2025
1 parent 9a2467d commit 4298682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
<div class="row">
<f:for each="{data.carousel_items}" as="item" iteration="iteration">
<div class="col">
<f:for each="{item.image}" as="image" iteration="iteration">
<f:image image="{image}" width="100"/><br/>
</f:for>
<f:image image="{item.image}" width="100"/><br/>
{item.header}
</div>
</f:for>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
<div class="carousel-inner">
<f:for each="{data.carousel_items}" as="item" iteration="iteration">
<div class="carousel-item{f:if(condition: '{iteration.isFirst}', then:' active')}">
<f:for each="{item.image}" as="image" iteration="iteration">
<f:image image="{image}" class="d-block w-100"/>
</f:for>
<f:image image="{item.image}" class="d-block w-100"/>
<div class="carousel-caption d-none d-md-block">
<h5>{item.header}</h5>
<f:format.html>{item.description}</f:format.html>
Expand Down

0 comments on commit 4298682

Please sign in to comment.