{{define "title"}}{{.Room.Name}}{{end}} {{define "content"}} {{template "back-nav" dict "Href" (path $ "/") "Label" "Rooms"}} {{template "page-header" dict "Title" .Room.Name}} {{template "region:messages" .}} {{template "region:compose" .}} {{end}} {{define "region:messages"}}
{{range .Messages}}

{{.Sender}} {{.Text}}

{{else}}

No messages yet. Say hello.

{{end}}
{{end}} {{define "region:compose"}}{{$L := localizer $}}
{{template "field-text" dict "Name" "Text" "Label" "Message" "Value" (index .Echo "Text") "Error" (index .Errors "Text")}} {{template "form-foot" dict "L" $L "Submit" "Send"}}
{{end}}