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

20 lines
474 B
Plaintext
Raw Normal View History

2014-09-01 12:57:27 +03:00
- content_for(:title) { ":: #{@workshop.title}" }
2014-08-30 19:59:33 +03:00
h2.workshop-title
= @workshop.title
span.subtitle = @workshop.subtitle
2014-09-01 12:57:27 +03:00
.entry-meta
2014-09-01 12:57:27 +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'