<%= javascript_include_tag "/assets/kindeditor/kindeditor" %>
<%# reply_allow = JournalsForMessage.create_by_user? User.current %>

<%= l(:label_leave_message) %>

<% if !User.current.logged?%>
<%= l(:label_user_login_tips) %> <%= link_to l(:label_user_login_new), signin_path %>
<% else %> <%= form_for('new_form', :method => :post, :url => {:controller => 'words', :action => 'leave_course_message'},:html => {:id=>'leave_message_form'}) do |f|%> <%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %> <%#= f.kindeditor 'course_message',:height => '140px;',:editor_id => 'leave_message_editor',:input_html=>{:id => "leave_meassge",:style => "resize: none;", :placeholder => "#{l(:label_welcome_my_respond)}",:maxlength => 250}%>

取  消 <%= l(:button_leave_meassge)%> <% end %> <% end %>
<%= render :partial => 'history',:locals => { :contest => @contest, :journals => @jour, :state => false} %>