<%= content_for(:header_tags) do %> <%= import_ke(enable_at: true, prettify: false) %> <%= javascript_include_tag 'blog' %> <% end %>

<%if User.current.id == user.id%>
<%= f.check_box :sticky%> <%= label_tag 'message_sticky', l(:label_board_sticky) %> <%= f.check_box :locked%> <%= label_tag 'message_locked', l(:label_board_locked) %>
<% end %>
<%= 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 => 'message_content_editor', :owner_id => article.nil? ? 0: article.id, :owner_type => OwnerTypeHelper::BLOGCOMMENT, :width => '100%', :height => 300, :minHeight=>300, :class => 'talk_text fl', :input_html => { :id => 'message_content', :class => 'talk_text fl', :maxlength => 5000 }, act_id: article.id, act_type: article.class.to_s %>

<%= render :partial => 'blog_comments/blog_attachments', :locals => {:container => article} %>