package templates import ( "fmt" "github.com/Cameron-Reed1/todo-web/types" ) templ RootPage() { Todo
Overdue
Today
Upcoming
Create new Todo





Close
Edit Todo





Close
} script edit(item_id string) { edit(item_id) } templ TodoItem(item types.Todo) {
{ item.Text }
} templ OobTodoItem(targetSelector string, item types.Todo) {
@TodoItem(item)
} templ TodoList(fillerText string, items []types.Todo) {
{ fillerText }
for _, item := range items { @TodoItem(item) }
}