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

This commit is contained in:
Zack Scholl 2017-03-23 07:33:00 -06:00
parent 9becf07745
commit 4193da80fc

View File

@ -316,6 +316,7 @@
<div id="wrap"> <div id="wrap">
{{ if .DontKnowPage }} <strong><center>{{ .Route }} not understood!</center></strong>{{ end }}
{{ if .ViewPage }} {{ .RenderedPage }} {{ end }} {{ if .ViewPage }} {{ .RenderedPage }} {{ end }}
{{ if .EditPage }} <textarea autofocus placeholder="Start typing, it will save automatically." id="userInput">{{ .RawPage }}</textarea>{{ end }} {{ if .EditPage }} <textarea autofocus placeholder="Start typing, it will save automatically." id="userInput">{{ .RawPage }}</textarea>{{ end }}
{{ if .HistoryPage }} {{ if .HistoryPage }}