find_users_by_email view loads a page with search form and is linked to

This commit is contained in:
Pea Tyczynska
2018-07-13 11:58:28 +01:00
parent 464fa94935
commit ea6a5b6e7d
5 changed files with 82 additions and 0 deletions
@@ -0,0 +1,40 @@
{% extends "views/platform-admin/_base_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% block per_page_title %}
Find users by e-mail
{% endblock %}
{% block org_page_title %}
Find users by e-mail
{% endblock %}
{% block platform_admin_content %}
<h1 class="heading-large">
Find users by e-mail
</h1>
<form
method="post"
action="{{ url_for('.find_users_by_email') }}"
class="grid-row"
>
<div class="column-three-quarters">
{{ textbox(
form.search,
width='1-1',
label='Find users by e-mail'
) }}
</div>
<div class="column-one-quarter align-button-with-textbox">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="button">Search</button>
</div>
</form>
<form id="search-form" method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
</form>
{% endblock %}