Skip to content

Commit

Permalink
Merge pull request #1937 from codebar/fix-rsvp-button-event-invitatio…
Browse files Browse the repository at this point in the history
…n-page

Fix RSVP button on Event invitation page
  • Loading branch information
matyikriszta committed Sep 29, 2023
2 parents af87097 + a9495aa commit 7937df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/invitations/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7937df0

Please sign in to comment.