Skip to content

Commit

Permalink
fix(htmlx): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 11, 2023
1 parent b8a8392 commit 1498c4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions examples/htmlx/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
hx-post="/todos"
hx-on="htmx:configRequest: event.detail.parameters.completed = completed.checked"
hx-swap="none"
id="form">
id="form"
>
<input type="checkbox" name="completed" id="completed" />
<label for="completed">Done</label>
<input type="text" name="text" id="text" />
Expand All @@ -22,7 +23,7 @@
>
<ul id="list">
{{#each todos as | todo |}}
<li>{{text}}</li>
<li>{{text}} {{completed}}</li>
{{/each}}
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/htmlx/templates/todos.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ul>
{{#each todos as | todo |}}
<li>{{text}} {{complated}}</li>
<li>{{text}} {{completed}}</li>
{{/each}}
</ul>

0 comments on commit 1498c4c

Please sign in to comment.