Sha256: 58c5f88f9f704c606983bb3d60883e48ce72563967faefd4595ef994b140da47
Contents?: true
Size: 674 Bytes
Versions: 16
Compression:
Stored size: 674 Bytes
Contents
= stylesheet_link_tag 'works_cited/application' %h1 Listing citations = link_to 'New Citation', new_citation_path %table.table-data %tr %th Citation Type %th Title %th Authors %th{colspan: 3} - @citations.each do |citation| %tr %td= citation.citation_type %td= citation.title %td= list_names(citation.works_cited_contributors.authors) %td= link_to 'Show', citation, class: 'button button-link' %td= link_to 'Edit', edit_citation_path(citation), class: 'button button-action' %td= link_to 'Destroy', citation, method: :delete, data: { confirm: 'Are you sure?' }, class: 'button button-danger' = paginate @citations
Version data entries
16 entries across 16 versions & 1 rubygems