mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 03:14:19 +00:00
28 lines
1.2 KiB
Django/Jinja
28 lines
1.2 KiB
Django/Jinja
{% extends "nopaque.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
<div class="col s12 m4">
|
|
<h3 id="title">{{ user.username }}</h3>
|
|
<p id="description">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
|
|
<a class="waves-effect waves-light btn" href="{{ url_for('admin.user', user_id=user.id) }}"><i class="material-icons left">arrow_back</i>Back to user administration</a>
|
|
</div>
|
|
|
|
<div class="col s12 m8">
|
|
<div class="card">
|
|
<form method="POST">
|
|
<div class="card-content">
|
|
{{ edit_user_form.hidden_tag() }}
|
|
{{ M.render_field(edit_user_form.username, data_length='64', material_icon='account_circle') }}
|
|
{{ M.render_field(edit_user_form.email, class_='validate', material_icon='email', type='email') }}
|
|
{{ M.render_field(edit_user_form.role, material_icon='swap_vert') }}
|
|
{{ M.render_field(edit_user_form.confirmed, material_icon='check') }}
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ M.render_field(edit_user_form.submit, material_icon='send') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|