pic_vert_app/app/views/note_files/index.html.haml
2013-01-08 22:47:42 +01:00

26 lines
512 B
Plaintext

%h1 Listing note_files
%table
%tr
%th File
%th Name
%th Slug
%th Description
%th
%th
%th
- @note_files.each do |note_file|
%tr
%td= note_file.file
%td= note_file.name
%td= note_file.slug
%td= note_file.description
%td= link_to 'Show', note_file
%td= link_to 'Edit', edit_note_file_path(note_file)
%td= link_to 'Destroy', note_file, :confirm => 'Are you sure?', :method => :delete
%br
= link_to 'New Note file', new_note_file_path