Permalink
Browse files

Move 'Download CSV' to top of show view

  • Loading branch information...
1 parent 6fe2cfd commit a09f25853404fbc491fcb74041f06b25fd49d639 @nathanl nathanl committed Feb 14, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/dossier/reports/show.html.haml
@@ -1,5 +1,7 @@
%h1= report.class.name.titleize
+= link_to 'Download CSV', dossier_report_path(format: 'csv', options: report.options, report: report.class.report_name), class: 'download-csv'
+
%table
%thead
%tr
@@ -17,5 +19,3 @@
%tr
- row.each do |value|
%th= value
-
-= link_to 'Download CSV', dossier_report_path(format: 'csv', options: report.options, report: report.class.report_name), class: 'download-csv'

0 comments on commit a09f258

Please sign in to comment.