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

36 lines
834 B
Plaintext
Raw Normal View History

%h1 Listing workshops
%table
%tr
%th Title
%th Slug
%th Info
%th Conference
%th Workshop stream
%th Workshop presentation style
%th Min facilitators
%th Location
%th Start time
%th End time
%th
%th
- @workshops.each do |workshop|
%tr
%td= workshop.title
%td= workshop.slug
%td= workshop.info
%td= workshop.conference_id
%td= workshop.workshop_stream_id
%td= workshop.workshop_presentation_style
%td= workshop.min_facilitators
%td= workshop.location_id
%td= workshop.start_time
%td= workshop.end_time
2014-03-23 13:31:08 -06:00
%td= link_to 'Show', conference_workshop_path(@conference, workshop)
%td= link_to 'Edit', edit_conference_workshop_path(@conference, workshop)
%br
2014-03-23 13:31:08 -06:00
= link_to 'New Workshop', new_conference_workshop_path