summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/qa_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/qa_form.html')
-rw-r--r--ishtar_common/templates/ishtar/qa_form.html27
1 files changed, 23 insertions, 4 deletions
diff --git a/ishtar_common/templates/ishtar/qa_form.html b/ishtar_common/templates/ishtar/qa_form.html
index f3a4cf559..fe373ed57 100644
--- a/ishtar_common/templates/ishtar/qa_form.html
+++ b/ishtar_common/templates/ishtar/qa_form.html
@@ -16,11 +16,30 @@
<p>{{ error }}</p>
{% endfor %}
{% bs_form form %}
- {% if confirm %}{% for field in form %}
- {% if field.value %}
- <label>{{field.label}}</label> {{ field.value }}
+
+ {% if confirm %}
+ <input type="hidden" name="confirm" value="1"/>
+ <h4>{% trans "Modified items" %}</h4>
+ <ul>{% for item in items %}
+ <li>{{item}}</li>{% endfor %}
+ </ul>
+ <h4>{% trans "Modification" %}</h4>
+ <table>
+ {% for field in form %}
+ {% if field.value %}
+ <tr>
+ <th>{{field.label}}{% trans ":" %}&nbsp;</th>
+ <td>{% if field.field.rendered_value %}
+ {{ field.field.rendered_value }}
+ {% else %}
+ {{ field.value }}
+ {% endif %}
+ </td>
+ </tr>
+ {% endif %}
+ {% endfor %}
+ </table>
{% endif %}
- {% endfor %}{% endif %}
</div>
</div>
<div class="modal-footer">