Merge pull request #907 from sonalkr132/proposal-test
Proposal controller improvements and test
This commit is contained in:
commit
f56fc0052f
6 changed files with 617 additions and 43 deletions
|
|
@ -87,7 +87,7 @@
|
|||
method: :patch, class: 'btn btn-mini btn-success', id: "confirm_proposal_#{event.id}"
|
||||
|
||||
- if event.transition_possible? :withdraw
|
||||
= link_to 'Withdraw', conference_program_proposal_path(@conference.short_title, event.id), method: :delete,
|
||||
= link_to 'Withdraw', withdraw_conference_program_proposal_path(@conference.short_title, event.id), method: :patch,
|
||||
data: { confirm: 'Are you sure you want to withdraw this proposal?' }, class: 'btn btn-mini btn-warning',
|
||||
id: "delete_proposal_#{event.id}"
|
||||
- if event.state == 'withdrawn' || event.state == 'rejected'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue