render inputs in code, not in html

This commit is contained in:
Jakob Ketterl
2020-03-26 21:52:34 +01:00
parent 16639c0b5b
commit ab9df41a21
4 changed files with 78 additions and 38 deletions

View File

@ -20,6 +20,3 @@ class AdminController(WebpageController):
super().handle_request()
else:
self.send_redirect("/login")
def indexAction(self):
self.serve_template("admin.html", **self.template_variables())