回复自回复错误

This commit is contained in:
lizanle 2015-09-19 10:12:58 +08:00
parent b621449406
commit 72ae07fcb1
1 changed files with 3 additions and 3 deletions

View File

@ -80,9 +80,9 @@
<div nhname='div_form' class="mt10 ml80" style="display:none;">
<%= form_for(@memo_new, url: forum_memos_path, :method=>'post') do |f| %>
<%= f.hidden_field :subject, :required => true, value: reply.subject %>
<%= f.hidden_field :forum_id, :required => true, value: reply.forum_id %>
<%= f.hidden_field :parent_id, :required => true, value: reply.id %>
<%= f.hidden_field :subject, :required => true, value: @memo.subject %>
<%= f.hidden_field :forum_id, :required => true, value: @memo.forum_id %>
<%= f.hidden_field :parent_id, :required => true, value: @memo.id %>
<%= hidden_field_tag :quote,"",:required => false,:style => 'display:none' %>
<textarea name='memo[content]' style="display:none;"></textarea>
<p nhname='contentmsg'></p>