mirror of https://git.sr.ht/~statianzo/todogo
parent
52374088df
commit
3dce44a652
@ -1,12 +1,13 @@
|
||||
<li class="{{if .Completed}}completed{{end}}">
|
||||
<div class="view">
|
||||
<form class="toggle" action="/toggle?id={{.Id}}" method="POST">
|
||||
<button>
|
||||
t
|
||||
</button>
|
||||
<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>
|
||||
|
Loading…
Reference in new issue