Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
544 B

%h1 Listing workshop_streams
%table
%tr
%th Name
%th Slug
%th Info
%th
%th
%th
- @workshop_streams.each do |workshop_stream|
%tr
%td= workshop_stream.name
%td= workshop_stream.slug
%td= workshop_stream.info
%td= link_to 'Show', workshop_stream
%td= link_to 'Edit', edit_workshop_stream_path(workshop_stream)
%td= link_to 'Destroy', workshop_stream, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New Workshop stream', new_workshop_stream_path