2014-04-14 10:15:18 +08:00
|
|
|
<%= form_for(@memo_new, url: forum_memos_path, :html => {:multipart => true}) do |f| %>
|
2014-11-20 17:24:45 +08:00
|
|
|
<%= f.hidden_field :subject, :required => true, value: @memo.subject %>
|
2013-11-26 16:32:08 +08:00
|
|
|
<%= f.hidden_field :forum_id, :required => true, value: @memo.forum_id %>
|
|
|
|
<%= f.hidden_field :parent_id, :required => true, value: @memo.id %>
|
2014-08-01 14:08:38 +08:00
|
|
|
<div id="message_quote" class="wiki"></div>
|
2015-03-26 15:41:06 +08:00
|
|
|
<%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
|
2014-08-04 17:30:29 +08:00
|
|
|
<%= hidden_field_tag :quote,"",:required => false,:style => 'display:none' %>
|
2013-11-26 16:32:08 +08:00
|
|
|
<%= label_tag(l(:label_reply_plural)) %>:
|
|
|
|
<!-- <p> < %= f.text_area :content, :required => true, :size => "75%", :resize => "none", id: 'editor01' %> </p> -->
|
2015-03-26 15:41:06 +08:00
|
|
|
<%= f.kindeditor :content, :cols => 80, :rows => 15, :value => @content %>
|
|
|
|
<!--<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor01');</script> -->
|
2014-11-20 17:24:45 +08:00
|
|
|
<p>
|
|
|
|
<%= l(:label_attachment_plural) %>
|
|
|
|
<br />
|
|
|
|
<%= render :partial => 'attachments/form' %>
|
2013-11-26 16:32:08 +08:00
|
|
|
</p>
|
|
|
|
<%= f.submit value: l(:label_reply_plural), class: "replies" %>
|
|
|
|
<% end %>
|