Send and display description on creation
This commit is contained in:
parent
d07d5cac31
commit
966b337a93
@ -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)),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user