|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
<script src="/javascripts/ckeditor/ckeditor.js?1404953555" type="text/javascript"></script>
|
|
|
|
<%= error_messages_for 'message' %>
|
|
|
|
<%= error_messages_for 'message' %>
|
|
|
|
<% replying ||= false %>
|
|
|
|
<% replying ||= false %>
|
|
|
|
|
|
|
|
|
|
|
@ -22,18 +23,24 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<p><label for="message_subject"><%= l(:field_description) %><span class="required"> * </span></label>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<label for="message_subject"><%= l(:field_description) %>
|
|
|
|
|
|
|
|
<span class="required"> * </span></label>
|
|
|
|
<div id="message_quote" class="wiki" style="width: 100%;word-break: break-all;word-wrap: break-word;"></div>
|
|
|
|
<div id="message_quote" class="wiki" style="width: 100%;word-break: break-all;word-wrap: break-word;"></div>
|
|
|
|
<%= text_area :quote,:quote,:style => 'display:none' %>
|
|
|
|
<%= text_area :quote,:quote,:style => 'display:none' %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %>
|
|
|
|
<%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %>
|
|
|
|
<%= f.text_area :content, :cols => 80, :rows => 13, :class => 'wiki-edit', :id => 'message_content' %></p>
|
|
|
|
<%= f.text_area :content, :cols => 80, :rows => 13, :class => 'wiki-edit', :id => 'message_content' %>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<!--[eoform:message]-->
|
|
|
|
<!--[eoform:message]-->
|
|
|
|
|
|
|
|
|
|
|
|
<p><%= l(:label_attachment_plural) %><br />
|
|
|
|
<p>
|
|
|
|
<%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %></p>
|
|
|
|
<%= l(:label_attachment_plural) %>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|