admin: fix template syntax error

This commit is contained in:
Jens Langhammer 2020-11-21 21:04:42 +01:00
parent 812d699fd6
commit f3010726d6
1 changed files with 2 additions and 2 deletions

View File

@ -92,13 +92,13 @@
{% endif %} {% endif %}
{% endwith %} {% endwith %}
<td> <td>
<pb-modal-button href="{% url 'passbook_admin:outpost-update' pk=outpost.pk' %}"> <pb-modal-button href="{% url 'passbook_admin:outpost-update' pk=outpost.pk %}">
<button slot="trigger" class="pf-c-button pf-m-secondary"> <button slot="trigger" class="pf-c-button pf-m-secondary">
{% trans 'Edit' %} {% trans 'Edit' %}
</button> </button>
<div slot="modal"></div> <div slot="modal"></div>
</pb-modal-button> </pb-modal-button>
<pb-modal-button href="{% url 'passbook_admin:outpost-delete' pk=outpost.pk' %}"> <pb-modal-button href="{% url 'passbook_admin:outpost-delete' pk=outpost.pk %}">
<button slot="trigger" class="pf-c-button pf-m-danger"> <button slot="trigger" class="pf-c-button pf-m-danger">
{% trans 'Delete' %} {% trans 'Delete' %}
</button> </button>