{{define "title"}}Delete {{.Room.Name}} ยท Admin{{end}} {{define "content"}}{{$L := localizer $}} {{template "back-nav" dict "Href" (path $ (printf "/admin/rooms/%d" .Room.ID)) "Label" .Room.Name}} {{template "page-header" dict "Title" (printf "Delete %s?" .Room.Name)}}
Its messages go with it. This cannot be undone.
{{template "confirm-form" dict "L" $L "Action" (path $ (printf "/admin/rooms/%d/delete" .Room.ID)) "Label" "Delete room" "Danger" true "CancelHref" (path $ (printf "/admin/rooms/%d" .Room.ID))}} {{end}}