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

16 lines
946 B
Plaintext
Raw Normal View History

2017-05-30 19:24:44 -07:00
= render 'conferences/page_header', page_key: 'Conference_Registration'
2016-05-30 18:24:07 -07:00
2015-08-18 22:18:29 -07:00
%article
2017-06-03 12:55:13 -07:00
= row do
= columns(medium: 12) do
.back-to=_'articles.conference_registration.headings.Back_to'
%ul.menu
%li=link_to (_'articles.conference_registration.headings.Workshops'), :workshops
%li=link_to (_'articles.conference_registration.headings.Your_Registration'), :register
= render 'workshops/show', workshop: @workshop, translations_available_for_editing: @translations_available_for_editing, preview: false
= row do
= columns(medium: 12) do
2017-06-11 15:27:18 -07:00
.actions.center
= (link_to (_'actions.workshops.Edit'), edit_workshop_path(@this_conference.slug, @workshop.id), class: [:button, :modify]) if @workshop.can_edit?(current_user)
= (link_to (_'actions.workshops.Delete'), delete_workshop_path(@this_conference.slug, @workshop.id), class: 'button delete') if @workshop.can_delete?(current_user)