Merge pull request #872 from sonalkr132/proposal-after-cfp

Allow submission of proposal only if program has cfp
This commit is contained in:
Henne Vogelsang 2016-03-23 16:34:12 +01:00
commit 10ef898a0d
5 changed files with 32 additions and 11 deletions

View file

@ -98,5 +98,5 @@
class: 'btn btn-default', id: "edit_proposal_#{event.id}"
.row
.col-md-12
- if can? :create, @program.events.new
- if can? :create, @event
= link_to "New Proposal", new_conference_program_proposal_path(@conference.short_title), :class => "btn btn-success pull-right"