<% reply_allow = JournalsForMessage.create_by_user? User.current %>
<%= l(:label_user_response) %>
<% 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'}) do |f|%>
<%= f.text_area 'course_message',:id => "leave_meassge", :rows => 3, :cols => 65,
:placeholder => "#{l(:label_welcome_my_respond)}",
:style => "resize: none; width: 98%",
:class => 'noline',:maxlength => 250%>
<%= l(:button_leave_meassge)%>
<% end %>
<% end %>
<%= render :partial => 'history',:locals => { :contest => @contest, :journals => @jour, :state => false} %>