添加一个输入框的id,在论坛模块里,自动生成的id会和编辑器kindeditor生成的id冲突:都叫memo_content

This commit is contained in:
lizanle 2015-03-26 15:38:23 +08:00
parent 72eff3a032
commit d1d40e1867
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ function cookieget(n)
<% get_memo %>
<%= form_for(@new_memo, :url => create_feedback_forum_path(@public_forum)) do |f| %>
<%= f.text_area :subject, :class => "opnionText", :placeholder => l(:label_feedback_tips) %>
<%= f.hidden_field :content, :required => true , :value => l(:label_feedback_value) %>
<%= f.hidden_field :content,:id => 'hidden', :required => true , :value => l(:label_feedback_value) %>
<%#= f.submit :value => l(:label_memo_create), :class => "opnionButton", :id => "button1" %>
<a href="javascript:void(0);" class="opnionButton" style=" color:#fff;" id="" onclick="f_submit();"><%= l(:label_submit)%></a>
<% end %>