|
|
@ -25,9 +25,9 @@
|
|
|
|
( <%= link_to homework.student_works.count, student_work_index_path(:homework => homework.id), :class => 'c_red'%> )
|
|
|
|
( <%= link_to homework.student_works.count, student_work_index_path(:homework => homework.id), :class => 'c_red'%> )
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<% if @is_teacher%>
|
|
|
|
<% if @is_teacher%>
|
|
|
|
<%= homework_anonymous_comment(homework)%>
|
|
|
|
|
|
|
|
<%= link_to(l(:label_bid_respond_delete), homework_common_path(homework,:is_in_course => 1),:method => 'delete', :confirm => l(:text_are_you_sure), :class => "fr mr10 work_edit") %>
|
|
|
|
<%= link_to(l(:label_bid_respond_delete), homework_common_path(homework,:is_in_course => 1),:method => 'delete', :confirm => l(:text_are_you_sure), :class => "fr mr10 work_edit") %>
|
|
|
|
<%= link_to(l(:button_edit),edit_homework_common_path(homework,:is_in_course => 1), :class => "fr mr10 work_edit") %>
|
|
|
|
<%= link_to(l(:button_edit),edit_homework_common_path(homework,:is_in_course => 1), :class => "fr mr10 work_edit ml10") %>
|
|
|
|
|
|
|
|
<%= homework_anonymous_comment(homework)%>
|
|
|
|
<% elsif @is_student%>
|
|
|
|
<% elsif @is_student%>
|
|
|
|
<%= student_anonymous_comment homework %>
|
|
|
|
<%= student_anonymous_comment homework %>
|
|
|
|
<%= student_new_homework homework %>
|
|
|
|
<%= student_new_homework homework %>
|
|
|
|