diff --git a/app/views/event/register/_email_check.html.haml b/app/views/event/register/_email_check.html.haml deleted file mode 100644 index b7543b9d2..000000000 --- a/app/views/event/register/_email_check.html.haml +++ /dev/null @@ -1,13 +0,0 @@ --# copyright (c) 2024, schweizer alpen-club. this file is part of --# hitobito_sac_cas 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_sac_cas. - -= standard_form(Person.new, {url: register_group_event_path(group, event), html: { id: 'register_form' }}) do |f| - = f.error_messages - = f.labeled_input_field(:email) - = f.honeypot(:verification) - = f.indented do - = submit_button(f, t('.next')) - - if FeatureGate.enabled?('people.people_managers') && FeatureGate.enabled?('people.people_managers.self_service_managed_creation') - = submit_button(f, t('.next_for_manager'), formaction: register_group_event_path(group, event, manager: true)) diff --git a/app/views/event/register/_fields.html.haml b/app/views/event/register/_fields.html.haml new file mode 100644 index 000000000..906a85149 --- /dev/null +++ b/app/views/event/register/_fields.html.haml @@ -0,0 +1,10 @@ +-# copyright (c) 2024, schweizer alpen-club. this file is part of +-# hitobito_sac_cas 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_sac_cas. + +.row + .col-lg + = render 'event/participation_contact_datas/fields', f: f + .col-lg + = render 'event/participations/contact_data_aside' \ No newline at end of file diff --git a/app/views/event/register/register.html.haml b/app/views/event/register/register.html.haml deleted file mode 100644 index ae52410d1..000000000 --- a/app/views/event/register/register.html.haml +++ /dev/null @@ -1,31 +0,0 @@ --# copyright (c) 2024, schweizer alpen-club. this file is part of --# hitobito_sac_cas 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_sac_cas. - -- title t(".title.#{manager ? 'manager' : 'participant'}") - -- unless self_service_managed_enabled? - = render 'event/participations/step_wizard', step: 1 - -- return_url = FeatureGate.enabled?('people.people_managers') ? group_event_path(group, event) : new_group_event_participation_path(group, event) - -= crud_form(entry, - url: register_group_event_path(group, event), - method: :put, - cancel_url: register_group_event_path(group, event), - buttons_bottom: true, - buttons_top: false) do |f| - = hidden_field_tag(:manager, manager) - = hidden_field_tag(:return_url, return_url) - - - if manager - = render 'manager_fields', f: f - - else - .row - .col-lg - = render 'event/participation_contact_datas/fields', f: f - .col-lg - = render 'event/participations/contact_data_aside' - - = f.honeypot(:verification) diff --git a/config/locales/wagon.de.yml b/config/locales/wagon.de.yml index 9278c18d6..8416071dd 100644 --- a/config/locales/wagon.de.yml +++ b/config/locales/wagon.de.yml @@ -1186,6 +1186,10 @@ de: overrides_person_data_info: Bitte beachte, dass die hier eingegebenen Anpassungen in dein Profil übernommen werden. + + register: + email_check: + enter_email: "" # to not display in sac wagon events: actions_show_sac_cas: @@ -1223,7 +1227,7 @@ de: cancel_confirmation: Wollen Sie den Kurs %{name} (%{number}) wirklich absagen? Diese Aktion kann nicht rückgängig gemacht werden cancel_info: Sagt den Kurs %{name} (%{number}) ab und annulliert alle Teilnahmen. Dabei werden allfällige Rechnungen storniert und bereits bezahlte Beträge rückerstattet. Diese Aktion kann nicht rückgängig gemacht werden. inform_participants_caption: Alle Teilnehmenden per E-Mail über Absage informieren - canceled_reason_label: Grund + canceled_reason_label: Grund external_trainings: form: