%h1
  You're about submit paper
  = @paper.short_title

%h2#paper-title= @paper.title

#paper-abstract= @paper.abstract.html_safe

%table#paper-authors.table.table-hover
  %tr
    %thead Name
    %thead Affiliation
    %thead Email
  - @paper.authors.map { |a| a.with_indifferent_access }.each do |author|
    %tr
      %td= "#{author[:first_name]} #{author[:last_name]}"
      %td= author[:affiliation]
      %td= author[:email]

%table#paper-declarations.table.table-hover
  %tr
    %thead Question
    %thead Answer
  - @paper.declarations.each do |declaration|
    %tr
      %td= declaration.question
      %td= declaration.answer

= link_to 'Cancel', edit_paper_path(@paper), class: 'btn-primary btn-lg btn'
= button_to 'Submit', paper_submissions_path(@paper), class: 'btn-primary btn-lg btn'

%h1
  You're about submit paper
  = @paper.short_title

%h2#paper-title= @paper.title

#paper-abstract= @paper.abstract.html_safe

%table#paper-authors.table.table-hover
  %tr
    %th Name
    %th Affiliation
    %th Email
  - @paper.authors.map { |a| a.with_indifferent_access }.each do |author|
    %tr
      %td= "#{author[:first_name]} #{author[:last_name]}"
      %td= author[:affiliation]
      %td= author[:email]

%table#paper-declarations.table.table-hover
  %tr
    %th Question
    %th Answer
  - @paper.declarations.each do |declaration|
    %tr
      %td= declaration.question
      %td= declaration.answer

= link_to 'Cancel', edit_paper_path(@paper), class: 'btn-primary btn-lg btn'
= button_to 'Submit', paper_submissions_path(@paper), class: 'btn-primary btn-lg btn'

Use proper tags for table headers
Use proper tags for table headers
