|
|
@ -39,6 +39,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
|
|
$(function(){
|
|
|
|
|
|
|
|
if($("#homework_info_hidden").is(":hidden"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$("#homework_info_show").show();
|
|
|
|
|
|
|
|
}
|
|
|
|
<% if !@is_evaluation && (!@is_teacher || params[:show_work_id].present?) || @message_student_work_id %>
|
|
|
|
<% if !@is_evaluation && (!@is_teacher || params[:show_work_id].present?) || @message_student_work_id %>
|
|
|
|
<% if @message_student_work_id %>
|
|
|
|
<% if @message_student_work_id %>
|
|
|
|
<% work = @homework.student_works.where("id =?", @message_student_work_id).first %>
|
|
|
|
<% work = @homework.student_works.where("id =?", @message_student_work_id).first %>
|
|
|
|