<%= @homework.name %>
- <%= l(:label_create_person) %>:<%= link_to @homework.user, user_path(@homework.user)%>
- <%= l(:label_activity_time) %>:<%=format_time @homework.created_at %>
<% if @homework.users.count > 0 %>
<%= l(:label_participation_person) %>:
<% @homework.users.each do |homework_user| %>
<%= link_to homework_user, user_path(homework_user)%>
<% if @homework.users.count > 1 && homework_user != @homework.users.last %>
、
<% end %>
<% end %>
<% end %>
<% if @homework.description != nil && @homework.description != "" %>
<%= @homework.description %>
<% else %>
<%= l(:label_homework_without_description) %>
<% end %>
<%= l(:label_attachment) %>:
<% if @is_evaluation || is_teacher%>
<% options = {:author => true } %>
<%= render :partial => 'app_link', :locals => {:attachments => @homework.attachments, :options => options} %>
<% else %>
<%= l(:label_cant_download) %>
<% end %>
<%= l(:label_work_rating) %>:
<%= rating_for @homework, dimension: :quality, class: 'rateable div_inline' %>
提交评论