From b8b38f3ca4284f6b9abbebd6671f210719fa30a6 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 1 Jul 2015 15:44:20 -0300 Subject: [PATCH] Fix parent selection for proposal task --- views/proposals_discussion_plugin_tasks/_task_accept_details.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/proposals_discussion_plugin_tasks/_task_accept_details.html.erb b/views/proposals_discussion_plugin_tasks/_task_accept_details.html.erb index 978b5c5..dff234e 100644 --- a/views/proposals_discussion_plugin_tasks/_task_accept_details.html.erb +++ b/views/proposals_discussion_plugin_tasks/_task_accept_details.html.erb @@ -1,5 +1,5 @@ <% unless @view_only %> <%= f.fields_for 'article', OpenStruct.new(task.article) do |a| %> - <%= select_profile_folder(_('Select the folder where the article must be published'), "tasks[#{task.id}][task][article_parent_id]", task.target, task.article[:parent_id]) %> + <%= select_profile_folder(_('Select the folder where the article must be published'), "tasks[#{task.id}][task][article_parent_id]", task.target, task.article_parent_id) %> <% end %> <% end %> -- libgit2 0.21.2