wcs/wcs/templates/wcs/formdata_summary.html

21 lines
817 B
HTML

{% load i18n %}
<div class="section foldable {% if should_fold_summary %}folded{% endif %}" id="summary">
<h2><span role="button" aria-expanded="{{ should_fold_summary|yesno:'false,true' }}"
aria-controls="sect-dataview" id="sect-dataview-label">{% trans "Summary" %}</span>
{% if not publisher.get_request.is_in_backoffice %}
<span class="disclose-message">({% trans "display form details" %})</span>
{% endif %}
</h2>
<div id="sect-dataview" role="region" aria-labelledby="sect-dataview-label" class="dataview">
{% if user %}
<div class="field username">
<p class="label">{% trans "User name" %}</p>
<span class="value">{{ user.display_name }}</span>
</div>
{% endif %}
{{ fields|safe }}
</div> <!-- .dataview -->
</div> <!-- .section -->