Add list support

This commit is contained in:
Zed
2019-09-21 01:08:30 +02:00
parent d1fbcef64d
commit 9e3138e51b
25 changed files with 224 additions and 39 deletions

View File

@@ -71,5 +71,5 @@ proc renderError*(error: string): VNode =
tdiv(class="error-panel"):
span: text error
proc showError*(error, title: string): string =
renderMain(renderError(error), Request(), title, "Error")
template showError*(error, title: string): string =
renderMain(renderError(error), request, title, "Error")