Commit b8b38f3ca4284f6b9abbebd6671f210719fa30a6

Authored by Victor Costa
1 parent 3b45b958

Fix parent selection for proposal task

views/proposals_discussion_plugin_tasks/_task_accept_details.html.erb
1 <% unless @view_only %> 1 <% unless @view_only %>
2 <%= f.fields_for 'article', OpenStruct.new(task.article) do |a| %> 2 <%= f.fields_for 'article', OpenStruct.new(task.article) do |a| %>
3 - <%= 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]) %> 3 + <%= 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) %>
4 <% end %> 4 <% end %>
5 <% end %> 5 <% end %>