mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
28 lines
1.3 KiB
Django/Jinja
28 lines
1.3 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() }}
|
|
{{ materialize.field(edit_user_form.username, data_length='64', material_icon='account_circle') }}
|
|
{{ materialize.field(edit_user_form.email, class_='validate', material_icon='email', type='email') }}
|
|
{{ materialize.field(edit_user_form.role, material_icon='swap_vert') }}
|
|
{{ materialize.field(edit_user_form.confirmed, material_icon='check') }}
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ materialize.field(edit_user_form.submit, material_icon='send') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|