From d1be6a7248fd481f654499d17ec28fe280b40b77 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 12 Dec 2024 16:02:28 +0100 Subject: [PATCH] Add CanRegister --- assets/vendor/adrema-form | 2 +- components/eventregister/default.htm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/vendor/adrema-form b/assets/vendor/adrema-form index 768cf47..a6ca0d2 160000 --- a/assets/vendor/adrema-form +++ b/assets/vendor/adrema-form @@ -1 +1 @@ -Subproject commit 768cf47bd3f5a6199d178b12ff6fd68e94dd1949 +Subproject commit a6ca0d2a6ce9f9626b8e3c80d916fe8a6f793dfd diff --git a/components/eventregister/default.htm b/components/eventregister/default.htm index c4327ad..63e8b7a 100644 --- a/components/eventregister/default.htm +++ b/components/eventregister/default.htm @@ -1,5 +1,6 @@ {% include 'silva.adrema::head' %} +{% if __SELF__.event.can_register %} +{% endif %}