diff --git a/http/server.go b/http/server.go index 19c2488..b56ad15 100644 --- a/http/server.go +++ b/http/server.go @@ -124,7 +124,7 @@ func pageCreate() h.Term { e.Input(a.Name(fieldNameEventName)), e.Label(a.For(fieldNameDescription))(h.Text("Description")), - e.Textarea(a.Name(fieldNameEventName), a.Placeholder("What's going on?"))(), + e.Textarea(a.Name(fieldNameDescription), a.Placeholder("What's going on?"))(), e.Label(a.For(fieldNameEarliest))(h.Text("Earliest date")), e.Input(a.Name(fieldNameEarliest), a.Type("date")), @@ -211,6 +211,9 @@ func pageDoCreate(name, description string, earliest, latest time.Time) h.Term { e.H3()(h.Text("Name")), h.Text(name), + e.H3()(h.Text("Description")), + h.Text(description), + e.H3()(h.Text("Earliest date")), h.Text(earliest.Format(dateDisplayFmt)),