Fix id in forloop
This commit is contained in:
parent
81a022776b
commit
12fd3b7d5a
3 changed files with 22 additions and 17 deletions
|
|
@ -30,9 +30,9 @@
|
|||
- if event.transition_possible? :confirm
|
||||
= link_to 'Confirm',
|
||||
conference_proposal_confirm_path(@conference.short_title, event, send_mail: false),
|
||||
method: :patch, class: 'btn btn-mini btn-success', id: 'confirm_proposal'
|
||||
method: :patch, class: 'btn btn-mini btn-success', id: "confirm_proposal_#{event.id}"
|
||||
= link_to 'Edit', edit_conference_proposal_path(@conference.short_title, event.id),
|
||||
class: 'btn btn-mini btn-primary', id: 'edit_proposal'
|
||||
class: 'btn btn-mini btn-primary', id: "edit_proposal_#{event.id}"
|
||||
= link_to 'Withdraw', conference_proposal_path(@conference.short_title, event.id), method: :delete,
|
||||
confirm: 'Are you sure you want to withdraw this proposal?', class: 'btn btn-mini btn-danger',
|
||||
id: 'delete_proposal'
|
||||
id: "delete_proposal_#{event.id}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue