<%= link_to journal.user, user_path(journal.user)%>
<% label = l(:label_contest_requirement) %>
<%= textilizable journal.notes%>
<%= l(:label_bids_published) %>
<%= time_tag(journal.created_on).html_safe %>
<%= l(:label_bids_published_ago) %>
<% ids = 'project_respond_form_'+ journal.id.to_s%>
<%= link_to l(:label_projects_feedback_respond),'',
{:focus => 'project_respond', :onclick => "toggleAndSettingWordsVal($('##{ids}'), $('##{ids} textarea'), '#{l(:label_reply_plural)} #{journal.user.name}: '); $('##{ids} textarea') ;return false;"}
%>
<% if journal.user==User.current|| User.current.admin? %>
<%= link_to(l(:label_bid_respond_delete), {:controller => 'homework_attach', :action => 'destroy_jour', :object_id => journal, :user_id => journal.user},
:remote => true, :confirm => l(:text_are_you_sure), :title => l(:button_delete)) %>
<% end %>
<%= render :partial => 'add_jour_reply', :locals => {:journal => journal, :m_reply_id => journal} %>
<%= render :partial => "jour_reply", :locals => {:journal => journal } %>