1
0
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 4193da80fc]]
Former-commit-id: 8686c6cfb26ca2542efe1aeca186093320c12228 [formerly 6ffcbe6472aa192fd8f59faace2c87fd08225b3d]
Former-commit-id: e726d4a1d3b075389f1a652198b45c2c7ce8ab5a
This commit is contained in:
Zack Scholl 2017-03-23 07:33:00 -06:00
parent 95afa389bc
commit 526a97affb

View File

@ -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 }}