From e372bb810d848daa0c630d7df4e28d6c6d3ec437 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 13 May 2018 15:28:27 +0100 Subject: Add switch user admin tool --- app/templates/admin/switch_user_page.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/templates/admin/switch_user_page.html (limited to 'app/templates/admin/switch_user_page.html') diff --git a/app/templates/admin/switch_user_page.html b/app/templates/admin/switch_user_page.html new file mode 100644 index 0000000..0149786 --- /dev/null +++ b/app/templates/admin/switch_user_page.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} + +{% block title %} + Switch User +{% endblock %} + +{% block content %} + {% from "macros/forms.html" import render_field, render_submit_field %} +
+ {{ form.hidden_tag() }} + + {{ render_field(form.username) }} + {{ render_submit_field(form.submit) }} +
+{% endblock %} -- cgit v1.2.3