<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %>

<%=l(:label_system_message)%>


<%= form_for(@admin_messages, :html => {:id =>'system_message-form'}) do |f| %>
<%= f.kindeditor :content,:width=>'87%',:editor_id=>'system_message_editor' %>

<%= link_to l(:label_submit), "javascript:void(0)",:class => "small", :onclick => "system_message_editor.sync();submit_message();" %>
<% end %>