Skip to content

Commit

Permalink
fix select template
Browse files Browse the repository at this point in the history
  • Loading branch information
delijati committed Nov 14, 2023
1 parent 1a46070 commit 2a86675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deform/templates/readonly/select.pt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<tal:if condition="isinstance(item, optgroup_class)">
<tal:loop repeat="choice item.options">
<p class="form-control-static"
id="${oid}-${repeat.carousel-item.index}-${repeat.choice.index}"
id="${oid}-${repeat.item.index}-${repeat.choice.index}"
tal:define="(value, description) choice"
tal:condition="(multiple and value in cstruct or value == cstruct)"
>${description}</p>
Expand All @@ -17,7 +17,7 @@
<tal:if condition="not isinstance(item, optgroup_class)">
<tal:block define="(value, description) item">
<p class="form-control-static"
id="${oid}-${repeat.carousel-item.index}"
id="${oid}-${repeat.item.index}"
tal:condition="(multiple and value in cstruct or value == cstruct)"
>${description}</p>
</tal:block>
Expand Down

0 comments on commit 2a86675

Please sign in to comment.