From a69db7b5c8dd0fbc5156ae33adbc6d697cd71a20 Mon Sep 17 00:00:00 2001 From: Arthur Del Esposte Date: Wed, 6 Aug 2014 22:13:38 -0300 Subject: [PATCH] Change fields_for structure to rails 3 in show_submission view --- plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb b/plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb index 2d4dac6..16e2781 100644 --- a/plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb +++ b/plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb @@ -1,7 +1,7 @@

<%= @form.name %>

<%= @form.description %>

-<% fields_for :submission, @submission do |f| %> +<%= fields_for :submission, @submission do |f| %> <%= render :partial => 'shared/form_submission', :locals => {:f => f} %> <% end %> -- libgit2 0.21.2