From 978b3124853287075f1b514cfb80f0ad41c9f293 Mon Sep 17 00:00:00 2001
From: Hermann <blumh@student.ethz.ch>
Date: Fri, 25 May 2018 18:20:12 +0200
Subject: [PATCH] display additional_fields

---
 src/events/viewEvent.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/events/viewEvent.js b/src/events/viewEvent.js
index f696836..3abf716 100644
--- a/src/events/viewEvent.js
+++ b/src/events/viewEvent.js
@@ -229,7 +229,12 @@ export default class viewEvent extends ItemView {
               { title: 'Selection Mode' },
               m.trust(this.data.selection_strategy),
             ) : '',
-            this.data.allow_email_signup ? m(Property, 'non AMIV-Members allowed') : '',
+            this.data.allow_email_signup && m(Property, 'non AMIV-Members allowed'),
+            this.data.additional_fields && m(
+              Property,
+              { title: 'Registration Form' },
+              this.data.additional_fields,
+            ),
           ]),
 
           // a list of email adresses of all participants, easy to copy-paste
-- 
GitLab