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
568 B

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