diff --git a/app/views/event/register/_fields.html.haml b/app/views/event/register/_fields.html.haml new file mode 100644 index 0000000..e30fce3 --- /dev/null +++ b/app/views/event/register/_fields.html.haml @@ -0,0 +1,8 @@ +-# Copyright (c) 2023, CEVI Schweiz, Pfadibewegung Schweiz, +-# Jungwacht Blauring Schweiz, Pro Natura, Stiftung für junge Auslandschweizer. +-# This file is part of hitobito_youth and +-# licensed under the Affero General Public License version 3 +-# or later. See the COPYING file at the top-level directory or at +-# https://github.com/hitobito/hitobito_youth. + += render 'event/participation_contact_datas/fields', f: f diff --git a/app/views/event/register/register.html.haml b/app/views/event/register/register.html.haml index 8986bcc..5705036 100644 --- a/app/views/event/register/register.html.haml +++ b/app/views/event/register/register.html.haml @@ -24,6 +24,6 @@ - if manager = render 'manager_fields', f: f - else - = render 'event/participation_contact_datas/fields', f: f + = render 'fields', f: f = f.honeypot(:verification)