Commit 590ad0df authored by Bengfort's avatar Bengfort
Browse files

fixup 7294447b

parent 9d0207e0
Pipeline #9075 passed with stages
in 7 minutes and 21 seconds
......@@ -8,7 +8,7 @@
{% csrf_token %}
<p>{% translate 'Are you sure you want to delete this schedule?' %}</p>
<div class="d-print-none mb-3">
<a href="{% url 'schedule-update' object.pk %}" class="btn btn-outline-primary mb-1">{% translate 'Cancel' %}</a>
<a href="{% url 'schedule-update' object.uuid %}" class="btn btn-outline-primary mb-1">{% translate 'Cancel' %}</a>
<button class="btn btn-danger mb-1">{% translate 'Confirm' %}</button>
</div>
</form>
......
......@@ -80,7 +80,7 @@
<div class="d-print-none mb-3">
<button class="btn btn-primary" >{% translate 'Save' %}</button>
{% if object %}
<a href="{% url 'schedule-delete' object.pk %}" class="btn btn-danger">{% translate 'Delete' %}</a>
<a href="{% url 'schedule-delete' object.uuid %}" class="btn btn-danger">{% translate 'Delete' %}</a>
{% endif %}
</div>
</form>
......
......@@ -8,7 +8,7 @@
<div class="list-group my-3">
{% for schedule in object_list %}
<a class="list-group-item list-group-item-action" href="{% url 'schedule-update' schedule.pk %}">{{ schedule }}</a>
<a class="list-group-item list-group-item-action" href="{% url 'schedule-update' schedule.uuid %}">{{ schedule }}</a>
{% endfor %}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment