{{if .Success}}

{{.Success}}

{{end}} {{if .Error}}

{{.Error}}

{{end}} {{if .Habits}}

New record

{{end}}

Habits ({{len .Habits}})

{{if not .Habits}}

No habits yet. Create one.

{{else}} {{end}}

Recent records

{{if not .Days}}

No records yet.

{{else}} {{range .Days}}

{{.Date}}

{{end}} {{end}}