clarion/app/views/workshops/show.html.slim

18 lines
428 B
Plaintext
Raw Normal View History

2014-08-30 19:59:33 +03:00
h2.workshop-title
= @workshop.title
span.subtitle = @workshop.subtitle
.entry-meta
|
2014-08-31 22:11:46 +03:00
= t :edit_title, track: @workshop.track.name, len: @workshop.length
2014-08-30 19:59:33 +03:00
section.abstract
2014-08-31 22:11:46 +03:00
h3 = t :abstract
2014-08-30 19:59:33 +03:00
= simple_format @workshop.abstract
section.description
2014-08-31 22:11:46 +03:00
h3 = t :description
2014-08-30 19:59:33 +03:00
= simple_format @workshop.description
- if current_user == @workshop.user
2014-08-31 22:11:46 +03:00
= link_to t(:edit), edit_workshop_path(@workshop), class: 'btn-link'