diff --git a/app/views/public_events/show.html.haml b/app/views/public_events/show.html.haml index 3d3bec070..35790ab30 100644 --- a/app/views/public_events/show.html.haml +++ b/app/views/public_events/show.html.haml @@ -3,18 +3,20 @@ -# or later. See the COPYING file at the top-level directory or at -# https://github.com/hitobito/hitobito. -.align-with-form - %h1=t(".login_to_participate") - %h2=t(".with_sac_account") -= render 'devise/sessions/form', autofocus_login: false -.align-with-form.mt-4 - .mb-1=t(".is_sac_account_active") - = link_to t('.login_questions'), t(".link_fag_sac_account") +%div{data: { turbo: 'false'}} + .align-with-form + %h1=t(".login_to_participate") + %h2=t(".with_sac_account") - %h2.mt-5=t(".first_time_here") - .mb-2=t(".create_account_now") -= render 'event/register/email_check' + = render 'devise/sessions/form', autofocus_login: false + .align-with-form.mt-4 + .mb-1=t(".is_sac_account_active") + = link_to t('.login_questions'), t(".link_fag_sac_account") -.align-with-form.mt-5 - %h2=t(".wanna_be_a_member") - = link_to t('.request_sac_membership'), t(".request_sac_membership_link") + %h2.mt-5=t(".first_time_here") + .mb-2=t(".create_account_now") + = render 'event/register/email_check' + + .align-with-form.mt-5 + %h2=t(".wanna_be_a_member") + = link_to t('.request_sac_membership'), t(".request_sac_membership_link")