Skip to content

Commit

Permalink
Disable turbo on public_events/show (similar to core)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaierhofer committed Dec 18, 2024
1 parent 8dd337d commit f1369e5
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions app/views/public_events/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit f1369e5

Please sign in to comment.