You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/views/proposals/show.html.haml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
%span.bi.bi-pencil
7
7
Edit
8
8
- if proposal.speaker_can_withdraw?(current_user)
9
-
= proposal.withdraw_button
9
+
=link_to bang('Withdraw Proposal'), withdraw_event_proposal_path(event, uuid: proposal), data: {turbo: true, turbo_method: :post, turbo_confirm: 'This will remove your talk from consideration and send an email to the event coordinator. Are you sure you want to do this?'}, class: 'btn btn-warning', id: 'withdraw'
10
10
- if proposal.speaker_can_delete?(current_user)
11
11
= link_to event_proposal_path(event, uuid: proposal), data: {turbo: true, turbo_method: :delete, turbo_confirm: 'This will delete your talk. Are you sure you want to do this? It can not be undone.'}, class: 'btn btn-warning', id: 'delete' do
12
12
%span.bi.bi-exclamation-circle
@@ -94,8 +94,8 @@
94
94
.widget-header
95
95
%h2 Confirm participation in #{proposal.event.name}
=link_to bang('Decline'), decline_event_proposal_path(event, uuid: proposal), data: {turbo: true, turbo_method: :post, turbo_confirm: 'This will remove your talk from consideration and notify the event staff. Are you sure you want to do this?'}, class: 'btn btn-warning'
0 commit comments