|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
<%= error_messages_for 'message' %>
|
|
|
|
|
<% replying ||= false %>
|
|
|
|
|
<% extra_option = replying ? { readonly: true} : { maxlength: 200 } %>
|
|
|
|
|
<p class="talk_top"><%= l(:label_message_reply) %></p>
|
|
|
|
|
<li>
|
|
|
|
|
<label><span class="c_red">*</span> <%= l(:field_subject) %> :</label>
|
|
|
|
|
<% if replying %>
|
|
|
|
@ -26,7 +25,7 @@
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div id="message_quote" class="wiki" style="width: 100%;word-break: break-all;word-wrap: break-word;"></div>
|
|
|
|
|
<label class="fl" > <%= l(:field_description) %> :</label>
|
|
|
|
|
<label class="fl ml3" > <%= l(:field_description) %> :</label>
|
|
|
|
|
<%= text_area :quote,:quote,:style => 'display:none' %>
|
|
|
|
|
<%= f.text_area :content, :class => 'talk_text fl', :id => 'message_content', :onkeyup => "regexContent();", :maxlength => 5000,:placeholder => "最多3000个汉字(或6000个英文字符)" %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -35,7 +34,7 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<li>
|
|
|
|
|
<label class="fl"> <%= l(:label_attachment_plural) %> :</label>
|
|
|
|
|
<div class="fl">
|
|
|
|
|
<div class="fl ml3">
|
|
|
|
|
<%= render :partial => 'attachments/form_project', :locals => {:container => @message,:isReply => @isReply} %>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|