mirror of https://git.sr.ht/~statianzo/todogo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
408 B
14 lines
408 B
<li class="{{if .Completed}}completed{{end}}">
|
|
<div class="view">
|
|
<form class="toggle" action="/toggle?id={{.Id}}" method="POST">
|
|
<button></button>
|
|
</form>
|
|
<!-- <input class="toggle" type="checkbox" {{if .Completed}}checked{{end}}> -->
|
|
<label>{{.Title}}</label>
|
|
|
|
<form action="/destroy?id={{.Id}}" method="POST">
|
|
<button class="destroy"></button>
|
|
</form>
|
|
</div>
|
|
</li>
|