mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Show error message if route not understood
Former-commit-id: a8f0c8962f4bfc694d883a6c6162dac512dce40d [formerly a1a3744bd736baaf6af702e1635089a29a87ac8a] [formerly bd72fb7c08e2efda8ab97fc7d8a57b0d50ef43d2 [formerly c1b05ff1b8a28f4067785b8b2d0e8e68b325d0db [formerly4193da80fc
]]] Former-commit-id: 8686c6cfb26ca2542efe1aeca186093320c12228 [formerly 6ffcbe6472aa192fd8f59faace2c87fd08225b3d] Former-commit-id: e726d4a1d3b075389f1a652198b45c2c7ce8ab5a Former-commit-id:526a97affb
This commit is contained in:
parent
62c9e6ee1b
commit
a16fd6f8fb
@ -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