From 868de917ee8e830a5066142f3c0b5ea3244d5f39 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Mon, 13 Jun 2022 17:21:55 +0200
Subject: [PATCH] Add frontend work

---
 .../templates/paweljong/event_registration/full.html         | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html b/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html
index d4ca917..f3d93c2 100644
--- a/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html
+++ b/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html
@@ -23,6 +23,11 @@
           <i class="material-icons left iconify" data-icon="mdi:edit"></i>
           {% trans "Edit" %}
         </a>
+
+        <a href="{% url 'retract_registration_by_pk' registration.pk %}" class="btn waves-effect waves-light">
+          <i class="material-icons left iconify" data-icon="mdi:account-cancel"></i>
+          {% trans "Retract" %}
+        </a>
       {% endif %}
 
       {% if can_delete_registration %}
-- 
GitLab