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