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

Version Path
works_cited-0.1.16 app/views/works_cited/citations/index.html.haml
works_cited-0.1.15 app/views/works_cited/citations/index.html.haml
works_cited-0.1.14 app/views/works_cited/citations/index.html.haml
works_cited-0.1.13 app/views/works_cited/citations/index.html.haml
works_cited-0.1.11 app/views/works_cited/citations/index.html.haml
works_cited-0.1.10 app/views/works_cited/citations/index.html.haml
works_cited-0.1.9 app/views/works_cited/citations/index.html.haml
works_cited-0.1.8 app/views/works_cited/citations/index.html.haml
works_cited-0.1.7 app/views/works_cited/citations/index.html.haml
works_cited-0.1.6 app/views/works_cited/citations/index.html.haml
works_cited-0.1.5 app/views/works_cited/citations/index.html.haml
works_cited-0.1.4 app/views/works_cited/citations/index.html.haml
works_cited-0.1.3 app/views/works_cited/citations/index.html.haml
works_cited-0.1.2 app/views/works_cited/citations/index.html.haml
works_cited-0.1.1 app/views/works_cited/citations/index.html.haml
works_cited-0.1.0 app/views/works_cited/citations/index.html.haml