diff --git a/app/views/proposal/show.html.haml b/app/views/proposal/show.html.haml index d14d5acb..909de4c2 100644 --- a/app/views/proposal/show.html.haml +++ b/app/views/proposal/show.html.haml @@ -7,9 +7,10 @@ %br %small = @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 - = 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 .col-md-3 %p