From fdcdb38c9514433842a656230f84e8ff9ff88395 Mon Sep 17 00:00:00 2001 From: Melissa Wen Date: Wed, 6 Jan 2016 15:33:01 -0200 Subject: [PATCH] fix load data field on download block edition --- src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb | 2 +- src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb b/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb index 5565495..5f588c2 100644 --- a/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb +++ b/src/noosfero-spb/software_communities/views/box_organizer/_download_list.html.erb @@ -1 +1 @@ -<%= render :partial => 'box_organizer/download_list_template' %> +<%= render :partial => 'box_organizer/download_list_template', :locals => {:download => download} %> diff --git a/src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb b/src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb index 29b6e0a..bba48a9 100644 --- a/src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb +++ b/src/noosfero-spb/software_communities/views/box_organizer/_download_list_template.html.erb @@ -1,23 +1,23 @@