Files
mkspc-mgmt/app/base/templates/generic/detail.html
2025-07-20 14:17:15 +02:00

17 lines
569 B
HTML

{% extends 'base.html' %}
{% load url_utils %}
{% block toolbar_left %}
{% if views.update %}
<a class="btn btn-sm btn-secondary" href="{% url views.update object.pk %}{% query_url prev=request.path %}">
<i class="fas fa-edit"></i> Bearbeiten</a>
{% endif %}
{% if views.delete %}
<a class="btn btn-sm btn-secondary" href="{% url views.delete object.pk %}{% query_url prev=request.path %}">
<i class="fas fa-trash-alt"></i> Löschen</a>
{% endif %}
{% endblock %}
{% block content %}
{% include 'templatetags/detail_table.html' %}
{% endblock %}