Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
457 B

- key = @excel_data[:key] || 'excel.columns'
%html
%head
= inject_css! if ENV["RAILS_ENV"] == 'test'
%title
=_!'Excel Spreadsheet'
%body
%table
%thead
%tr
- @excel_data[:columns].each do |column|
%th=_"#{key}.#{column.to_s}"
%tbody
- @excel_data[:data].each do |row|
%tr
- @excel_data[:columns].each do |column|
%td=_!row[column]