echo-todos/view/index.templ

14 lines
217 B
Text
Raw Permalink Normal View History

2024-08-19 12:56:20 +00:00
package view
import "git.wittern.io/public/echo-todos/model"
templ Index(todos []model.Todo) {
@Base() {
<main class="container">
<h1>{ Username } Todos</h1>
@TodoForm()
@TodosList(todos)
</main>
}
}