Fix edit and schedule buttons on proposal show page
This commit is contained in:
parent
b18e302224
commit
dd159c5555
1 changed files with 3 additions and 2 deletions
|
|
@ -7,9 +7,10 @@
|
||||||
%br
|
%br
|
||||||
%small
|
%small
|
||||||
= @event.subtitle
|
= @event.subtitle
|
||||||
= link_to "Schedule", schedule_conference_path(@conference.short_title), :class =>"btn btn-success pull-right"
|
- if can? :schedule, @conference
|
||||||
|
= link_to "Schedule", schedule_conference_path(@conference.short_title), :class =>"btn btn-success pull-right"
|
||||||
- if can? :edit, @event
|
- if can? :edit, @event
|
||||||
= link_to "Edit", edit_admin_conference_program_event_path(@conference.short_title, @event), :class => "btn btn-mini btn-primary pull-right"
|
= link_to "Edit", edit_conference_program_proposal_path(@conference.short_title, @event), :class => "btn btn-mini btn-primary pull-right"
|
||||||
.row
|
.row
|
||||||
.col-md-3
|
.col-md-3
|
||||||
%p
|
%p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue