Files
django-admin-confirm-briq/admin_confirm/templates/admin/change_data.html
T
Thu Trang Pham 09744c7f2a fix(ISSUE-8): contd m2m save values (#11)
* feat(ISSUE-8): ISSUE-8: ManyToManyField causes error on confirmations

* feat(ISSUE-8): Update some readme and remove print statements

* feat(ISSUE-8): Generate new version of package

* feat(ISSUE-3): Adding .travis.yml

* feat(ISSUE-3): Adding coveralls

* feat(ISSUE-3): Trying github actions

* feat(ISSUE-3): remove travis

* feat(ISSUE-3): Change python versions to test

* feat(ISSUE-3): Some refactoring and trying tox

* feat(ISSUE-3): Try action matrix

* feat(ISSUE-3): Some more refactors

* feat(ISSUE-3): Fix tests

* feat(ISSUE-3): Refactor/fix tests

* feat(ISSUE-3): Remove tox

* feat(ISSUE-3): Adding pypi version badge to readme

* feat(ISSUE-3): Update readme again

* feat(ISSUE-3): Remove tox from readme

* feat(ISSUE-8): Adding some tests for m2m and fix save value issue

* feat(ISSUE-8): Updating test todos

* feat(ISSUE-8): Finish up the tests

* feat(ISSUE-8): Rename

* feat(ISSUE-8): Update gitignore

Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
2021-02-19 21:31:30 -08:00

20 lines
515 B
HTML

{% load formatting %} {% if changed_data %}
<div class="changed-data">
<p><b>Confirm Values:</b></p>
<table>
<tr>
<th>Field</th>
<th>{% if add %} Default {% else %} Current {% endif %}Value</th>
<th>New Value</th>
</tr>
{% for field, values in changed_data.items %}
<tr>
<td>{{ field }}</td>
<td>{{ values.0|format_change_data_field_value }}</td>
<td>{{ values.1|format_change_data_field_value }}</td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}