<div class="syllabus_courses_box">
  <% @stundet_works.each_with_index do |student_work, i| %>
      <div class="syllabus_courses_list" id="student_work_<%= student_work.id%>" style="cursor: default; background-color:#f6f6f6;">
        <%= render :partial => 'evaluation_un_group_work', :locals => {:student_work => student_work} %>
      </div>
      <div id="about_hwork_<%= student_work.id %>" class="about_hwork"></div>

      <div id="group_member_work_<%= student_work.id%>">
        <%= render :partial => 'group_member_work', :locals => {:student_work => student_work} %>
      </div>
  <% end %>
</div>
<div class="cl"></div>

<script>
  $(".icons_sy_close").live('click',function(){
      $(this).parent().parent().next().next().show();
      $(this).removeClass("icons_sy_close");
      $(this).addClass("icons_sy_open");
  });
  $(".icons_sy_open").live('click',function(){
      $(this).parent().parent().next().next().hide();
      $(this).addClass("icons_sy_close");
      $(this).removeClass("icons_sy_open");
  });
</script>