From 51808c812426175fff9081ff91c80e494c7f1b91 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Wed, 24 Feb 2021 18:14:44 +0100
Subject: [PATCH] when editing an appointment type, clicking cancel redirected
 you to the list of languages

---
 CHANGELOG                                       | 3 +++
 smash/web/templates/appointment_types/edit.html | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG
index d2bcb932..9d87bd4b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,9 @@ smasch (1.0.0~beta.6-1) unstable; urgency=low
     number on the visit creation order basis (#369)
   * bug fix: default value should be able to store longer values - the same as
     possible text value (#373)
+  * bug fix: when editing an appointment type, clicking cancel redirected you
+    to the list of languages (#372)
+  
 
  -- Piotr Gawron <piotr.gawron@uni.lu>  Wed, 24 Feb 2021 12:00:00 +0200
 
diff --git a/smash/web/templates/appointment_types/edit.html b/smash/web/templates/appointment_types/edit.html
index cad34b05..77d2bdff 100644
--- a/smash/web/templates/appointment_types/edit.html
+++ b/smash/web/templates/appointment_types/edit.html
@@ -1,4 +1,4 @@
-{% extends "languages/add_edit.html" %}
+{% extends "appointment_types/add_edit.html" %}
 
 {% block page_header %}Edit appointment type "{{ appointment_type.code }}"{% endblock page_header %}
 
-- 
GitLab