mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Show error message if route not understood
This commit is contained in:
parent
9becf07745
commit
4193da80fc
@ -316,6 +316,7 @@
|
||||
|
||||
|
||||
<div id="wrap">
|
||||
{{ if .DontKnowPage }} <strong><center>{{ .Route }} not understood!</center></strong>{{ end }}
|
||||
{{ if .ViewPage }} {{ .RenderedPage }} {{ end }}
|
||||
{{ if .EditPage }} <textarea autofocus placeholder="Start typing, it will save automatically." id="userInput">{{ .RawPage }}</textarea>{{ end }}
|
||||
{{ if .HistoryPage }}
|
||||
|
Loading…
Reference in New Issue
Block a user