This commit is contained in:
albert
2013-03-17 20:56:34 -04:00
parent 781bfcef3c
commit 69607c0ea8
4 changed files with 23 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
<%= f.input :title %>
<%= f.simple_fields_for :original_post do |pf| %>
<% unless @forum_topic.new_record? %>
<% if !@forum_topic.new_record? %>
<%= hidden_field_tag "forum_topic[original_post_attributes][topic_id]", @forum_topic.id %>
<% end %>