<% else %> <% end %>
<% if @bid.reward_type ==3 %> <%=l(:label_student_response)%><%=l(:label_user_response)%>
<%= render :partial => 'new', :locals => {:bid => @bid, :sta => @state} %>
<% if journals.size >0 %> <% for journal in journals%>
<%= image_tag(url_to_avatar(journal.user), :class => "avatar") %> <% if @bid.reward_type == 3 %> <% else %> <% end %> <% if @user==User.current|| User.current.admin? %> <% else %>
<%=link_to journal.user, user_path(journal.user)%> <%= l(:label_question_requirement) %> <%=link_to journal.user, user_path(journal.user)%> <%= l(:label_respond_requirement) %>

<%= textilizable journal.notes%>

<%= l(:label_bids_published) %> <%= time_tag(journal.created_on).html_safe %> <%= l(:label_bids_published_ago) %><%= link_to(l(:label_bid_respond_quote), {:controller => 'bids', :action => 'new', :id => bid, :journal_id => journal}, :remote => true, :method => 'post', :title => l(:button_quote))%> <%= link_to(l(:label_bid_respond_delete), {:controller => 'bids', :action => 'destroy', :object_id => journal, :id => bid},:confirm => l(:label_delete_confirm), :remote => true, :method => 'delete', :class => "delete", :confirm => l(:text_are_you_sure), :title => l(:button_delete)) %><%= link_to(l(:label_bid_respond_quote), {:controller => 'bids', :action => 'new', :id => bid, :journal_id => journal}, :remote => true, :method => 'post', :title => l(:button_quote))%> <% end %>
<% end %> <% end %>