%table.editions
  %thead
    %tr
      %th Title
      %th Author
      %th Type
  %tbody
    -editions.each do |edition|
      = content_tag_for(:tr, edition) do
        %td.title= link_to edition.title, admin_edition_path(edition), title: "View edition #{edition.title}"
        %td.author= edition.author.name
        %td.type= edition.document.type
%table.editions
  %thead
    %tr
      %th Title
      %th Author
      %th Type
  %tbody
    -editions.each do |edition|
      = content_tag_for(:tr, edition) do
        %td.title= link_to edition.title, admin_edition_path(edition), title: "View edition #{edition.title}"
        %td.author= edition.author.name
        %td.type= edition.document.type
    -if editions.blank?
      %tr
        %td{colspan: 3} No documents have been created.
Add description when there are no content rows in document table.
Add description when there are no content rows in document table.
