From a9495aa279984385a92887d2829a1b7278c111ba Mon Sep 17 00:00:00 2001 From: Kriszta Matyi Date: Tue, 26 Sep 2023 16:41:03 -0700 Subject: [PATCH] Fixes RSVP button on Event invitation page --- app/views/invitations/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/invitations/show.html.haml b/app/views/invitations/show.html.haml index 73e82629e..2d1a040e8 100644 --- a/app/views/invitations/show.html.haml +++ b/app/views/invitations/show.html.haml @@ -19,7 +19,7 @@ - else - if @event.event_student_spaces? - if @event.tito_url.present? - = link_to @event.tito_url, target: '_blank', class: 'btn btn-primary', method: :post do + = link_to @event.tito_url, target: '_blank', class: 'btn btn-primary' do RSVP - else = link_to event_attend_path, class: 'btn btn-primary', method: :post do @@ -37,7 +37,7 @@ - else - if @event.event_coach_spaces? - if @event.tito_url.present? - = link_to @event.tito_url, target: '_blank', class: 'btn btn-primary', method: :post do + = link_to @event.tito_url, target: '_blank', class: 'btn btn-primary' do RSVP - else = link_to event_attend_path, class: 'btn btn-primary', method: :post do