BikeBikeBike/app/views/workshops/show.html.haml

9 lines
543 B
Plaintext
Raw Normal View History

2015-08-18 22:18:29 -07:00
= render 'conferences/page_header', :page_key => 'View_Workshop'
%article
2015-09-26 20:05:55 -07:00
= render 'workshops/show', :workshop => @workshop, :preview => false
2015-08-18 22:18:29 -07:00
= row do
2015-08-21 19:29:43 -07:00
= columns(medium: 12) do
2015-09-19 16:30:39 -07:00
.actions.right
2015-08-18 22:18:29 -07:00
= (link_to (_'actions.workshops.Edit'), edit_workshop_path(@this_conference.slug, @workshop.id), :class => 'button modify') if @workshop.can_edit?(current_user)
2015-09-19 16:30:39 -07:00
= (link_to (_'actions.workshops.Delete'), delete_workshop_path(@this_conference.slug, @workshop.id), :class => 'button delete') if @workshop.can_delete?(current_user)