diff options
| author | rubenwardy <rw@rubenwardy.com> | 2019-11-15 23:51:42 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2019-11-15 23:51:42 +0000 |
| commit | 64f131ae27a7332245b5a4eb8e1e4879d7d99578 (patch) | |
| tree | a0b4101ca9c2132a072f1586c0df693583c91cf7 /app/templates/admin/switch_user.html | |
| parent | 015abe5a2507ad02273bc89953016c386aae4457 (diff) | |
| download | cheatdb-64f131ae27a7332245b5a4eb8e1e4879d7d99578.tar.xz | |
Refactor endpoints to use blueprints instead
Diffstat (limited to 'app/templates/admin/switch_user.html')
| -rw-r--r-- | app/templates/admin/switch_user.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/templates/admin/switch_user.html b/app/templates/admin/switch_user.html new file mode 100644 index 0000000..7d4a4a2 --- /dev/null +++ b/app/templates/admin/switch_user.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block title %} + Switch User +{% endblock %} + +{% block content %} + <h2>Log in as another user</h2> + + {% from "macros/forms.html" import render_field, render_submit_field %} + <form method="POST" action=""> + {{ form.hidden_tag() }} + + {{ render_field(form.username) }} + {{ render_submit_field(form.submit) }} + </form> +{% endblock %} |
