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.
21 lines
444 B
21 lines
444 B
%h1 Listing event_types
|
|
|
|
%table
|
|
%tr
|
|
%th Slug
|
|
%th Info
|
|
%th
|
|
%th
|
|
%th
|
|
|
|
- @event_types.each do |event_type|
|
|
%tr
|
|
%td= event_type.slug
|
|
%td= event_type.info
|
|
%td= link_to 'Show', event_type
|
|
%td= link_to 'Edit', edit_event_type_path(event_type)
|
|
%td= link_to 'Destroy', event_type, :method => :delete, :data => { :confirm => 'Are you sure?' }
|
|
|
|
%br
|
|
|
|
= link_to 'New Event type', new_event_type_path
|
|
|