Skip to content

Commit

Permalink
Updated new.html.haml #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Pbasnal committed Jul 11, 2014
1 parent 0a3c3c1 commit 228e8ba
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions app/views/spreadsheets/new.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
=@req
%br
-#count = @spreadsheets.count
=#count
-#count.times do |i|
=#link_to @spreadsheets[i]['title'], edit_spreadsheet_path(@spreadsheets[i]['id'], title: @spreadsheets[i]['title'], token: @token) if @spreadsheets[i]['mimeType'].include?('spreadsheet')
%br
-count = @spreadsheets.count
=count
-count.times do |i|
=link_to @spreadsheets[i]['title'], edit_spreadsheet_path(@spreadsheets[i]['id'], title: @spreadsheets[i]['title'], token: @token) if @spreadsheets[i]['mimeType'].include?('spreadsheet')
%br

0 comments on commit 228e8ba

Please sign in to comment.