Foto- und Vorschau-Hinweis

This commit is contained in:
Daniel Grams 2020-11-01 11:51:55 +01:00
parent 8ae8c8daaa
commit 273c416701
2 changed files with 10 additions and 6 deletions

View File

@ -701,11 +701,6 @@ $( function() {
{% endif %}
{{ render_field_with_errors(form_field.image_file) }}
{{ render_field_with_errors(form_field.copyright_text) }}
{% if form_field.description %}
<small class="form-text text-muted w-100">
{{ form_field.description }}
</small>
{% endif %}
{% endmacro %}
{% macro render_base_image_form_section(form_field) %}

View File

@ -161,7 +161,7 @@
</div>
<div class="card-body">
<p class="card-text">
<i class="fa fa-lock"></i> Deine Kontaktdaten werden für etwaige Rückfragen bei der Prüfung durch <em>{{ admin_unit.name }}</em> verwendet.
<i class="fa fa-lock"></i> Deine Kontaktdaten werden für etwaige Rückfragen bei der Prüfung durch <strong>{{ admin_unit.name }}</strong> verwendet.
Die Daten sind nur für die Prüfer:innen sichtbar und werden nicht öffentlich angezeigt.
</p>
@ -205,6 +205,12 @@
{{ _('Photo') }}
</div>
<div class="card-body">
{% if form.photo.description %}
<p class="card-text">
{{ form.photo.description }}
</p>
{% endif %}
{{ render_base_image_form(form.photo) }}
<div class="d-flex justify-content-between mt-3">
@ -240,6 +246,9 @@
{{ _('Preview') }}
</div>
<div class="card-body">
<p class="card-text">
Bitte prüfe deine Eingaben in der Vorschau. Wenn alles passt, klicke auf den Button <span class="d-inline-block">&quot;{{ form.submit.label() }}&quot;.
</p>
<div id="preview_container" class="card card-body mb-4 shadow"></div>
<div class="d-flex flex-wrap justify-content-between align-items-baseline mt-3">
<a class="btn btn-secondary my-1 wizard-prev" href="#" role="button">{{ _('Previous') }}</a>