Skip to content
Snippets Groups Projects
Verified Commit 0a908648 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add edit and delete buttons on printer detail page

parent 4958894a
No related branches found
No related tags found
1 merge request!3Setup printer stuff
......@@ -14,5 +14,14 @@
<i class="material-icons left iconify" data-icon="mdi:arrow-left"></i>
{% trans "Back to all printers" %}
</a>
<a class="btn waves-effect waves-light margin-bottom orange modal-trigger"
href="{% url "edit_card_printer" object.pk %}">
<i class="material-icons left iconify" data-icon="mdi:pencil-outline"></i>
{% trans "Edit" %}
</a>
<a class="btn waves-effect waves-light margin-bottom red modal-trigger" href="{% url "delete_card_printer" object.pk %}">
<i class="material-icons left iconify" data-icon="mdi:delete-outline"></i>
{% trans "Delete" %}
</a>
{% include "kort/printer/detail_content.html" with printer=object %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment