%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
