<% reply_allow = JournalsForMessage.create_by_user? User.current %> <% tip1 = (@bid.reward_type == 3) ? l(:label_student_response) : l(:label_user_response) %>

<%=tip1%>

<%= render :partial => 'new', :locals => {:bid => @bid, :sta => @state} %>
<% label = '' case @bid.reward_type when 1 label = l(:label_respond_requirement) when 2 label = l(:label_contest_requirement) when 3 label = l(:label_question_requirement) else end %> <% if journals.size >0 %> <% end %>