Commit a69db7b5c8dd0fbc5156ae33adbc6d697cd71a20
1 parent
5f98fb25
Exists in
master
and in
29 other branches
Change fields_for structure to rails 3 in show_submission view
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb
1 | <h1><%= @form.name %></h1> | 1 | <h1><%= @form.name %></h1> |
2 | <p><%= @form.description %></p> | 2 | <p><%= @form.description %></p> |
3 | 3 | ||
4 | -<% fields_for :submission, @submission do |f| %> | 4 | +<%= fields_for :submission, @submission do |f| %> |
5 | <%= render :partial => 'shared/form_submission', :locals => {:f => f} %> | 5 | <%= render :partial => 'shared/form_submission', :locals => {:f => f} %> |
6 | <% end %> | 6 | <% end %> |
7 | 7 |