From d6221e55daf8d13a8954fdb10a020d5971ae2d80 Mon Sep 17 00:00:00 2001 From: Pankaj Basnal Date: Fri, 11 Jul 2014 11:04:03 +0530 Subject: [PATCH] Updated new.html.haml #5 --- app/views/spreadsheets/new.html.haml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/views/spreadsheets/new.html.haml b/app/views/spreadsheets/new.html.haml index 4a3f606..e9f2c45 100644 --- a/app/views/spreadsheets/new.html.haml +++ b/app/views/spreadsheets/new.html.haml @@ -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 \ No newline at end of file +-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