remove add task test
This commit is contained in:
parent
24c677094a
commit
2b970ea49a
1 changed files with 0 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package pages
|
||||
|
||||
import (
|
||||
"github.com/maddalax/htmgo/framework/js"
|
||||
"todolist/pages/base"
|
||||
"todolist/partials/task"
|
||||
|
||||
|
|
@ -20,12 +19,6 @@ func TaskListPage(ctx *h.RequestContext) *h.Page {
|
|||
h.Div(
|
||||
h.Class("flex flex-col gap-6 p-4 items-center max-w-xl mx-auto pb-12"),
|
||||
title,
|
||||
h.Button(
|
||||
h.Text("Add Task"),
|
||||
h.OnClick(
|
||||
js.InjectScript("https://htmgo.dev"),
|
||||
),
|
||||
),
|
||||
task.Card(ctx),
|
||||
h.Children(
|
||||
h.Div(h.Text("Double-click to edit a todo")),
|
||||
|
|
|
|||
Loading…
Reference in a new issue