mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-27 20:04:17 +00:00
36 lines
1.1 KiB
Django/Jinja
36 lines
1.1 KiB
Django/Jinja
{% extends "nopaque.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
|
|
<div class="col s12">
|
|
<div class="card">
|
|
<form method="POST">
|
|
{{ feedback_form.hidden_tag() }}
|
|
<div class="card-content">
|
|
<p class="range-field">
|
|
{{ feedback_form.like_range.label }}
|
|
{{ feedback_form.like_range(class='validate', type='range', min=1, max=10) }}
|
|
</p>
|
|
<div class="input-field">
|
|
<i class="material-icons prefix">email</i>
|
|
{{ feedback_form.email(class='validate', type='email') }}
|
|
{{ feedback_form.email.label }}
|
|
{% for error in feedback_form.email.errors %}
|
|
<span class="helper-text red-text">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="input-field">
|
|
<i class="material-icons prefix">mode_edit</i>
|
|
{{ feedback_form.feedback(class='materialize-textarea', data_length=255) }}
|
|
{{ feedback_form.feedback.label }}
|
|
</div>
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ M.render_field(feedback_form.submit, material_icon='send') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|