-
<%= yield %>
-
-
- - <%= link_to l(:label_question_student), {:controller => 'bids', :action => 'show'}, :class => link_class(:respond) %> - - <% if User.current.member_of_course? course %> -
- - <% if User.current.logged? && course && (!Member.where('user_id = ? and course_id = ?', User.current.id, course.id).first.nil? && (Member.where('user_id = ? and course_id = ?', User.current.id, course.id).first.roles&Role.where('id = ? or id = ? or id =?', 5, 10, 7)).size >0) %> - <%= link_to l(:label_homework_commit), course_for_bid_path, :class => link_class(:course) %> - <% else %> - <%= link_to l(:label_homework_info), course_for_bid_path, :class => link_class(:course) %> - <% end %> - - <% end %> - - -