<%= content_for(:header_tags) do %>
    <%= import_ke(enable_at: false, prettify: false, init_activity: false) %>
<% end %>

<%= error_messages_for 'message' %>
<li>
  <%= text_area :quote,:quote,:style => 'display:none' %>
  <%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
  <%= f.kindeditor :content, :editor_id => 'jour_content_editor',
                   :width => '99.7%',
                   :height => 100,
                   :minHeight=>100,
                   :input_html => { :id => 'jour_content',
                                    :class => 'talk_text fl',
                                    :maxlength => 5000 }
  %>
  <div class="cl"></div>
  <p id="jour_content_span"></p>
  <p id="e_tip" class="c_grey"></p>
  <p id="e_tips" class="c_grey"></p>
</li>
<div class="cl"></div>
<script type="text/javascript">
    $(function(){
        setTimeout(function(){
            elocalStorage(jour_content_editor,'user_newfeedback_<%=User.current.id %>_<%=@user.id %>');
        }, 10000);
    });
</script>