|  |  | @ -1,14 +1,5 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | <div class="alert alert-success"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 	<strong>Well done!</strong> You successfully read this important alert message. |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | <div class="alert alert-info"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 	<strong>Heads up!</strong> This alert needs your attention, but it's not super important. |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | <div class="alert alert-warning"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 	<strong>Warning!</strong> Best check yo self, you're not looking too good. |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | <div class="alert alert-danger"> |  |  |  | <div class="alert alert-danger"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 	<strong>Oh snap!</strong> Change a few things up and try submitting again. |  |  |  | 	<strong>Warning!</strong> you can stop. | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | </div> |  |  |  | </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <div class="page-header"> |  |  |  | <div class="page-header"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -29,14 +20,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				<div class="homeworks panel-heading"> |  |  |  | 				<div class="homeworks panel-heading"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<div class="panel-title"> |  |  |  | 					<div class="panel-title"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 						<%= link_to homework.name, respond_path(homework) %>(<%=homework.homeworks.count %>)<%#Bid%> |  |  |  | 						<%= link_to homework.name, respond_path(homework) %>(<%=homework.homeworks.count %>)<%#Bid%> | 
			
		
	
		
		
			
				
					
					|  |  |  | 						<%= link_to "打包下载", zipdown_assort_path(obj_class: homework.class, obj_id: homework.id), :class => "btn btn-primary btn-sm" %><br/> |  |  |  | 						<%#= link_to "打包下载", zipdown_assort_path(obj_class: homework.class, obj_id: homework.id), :class => "btn btn-primary btn-sm" %><br/> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 					</div> |  |  |  | 					</div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 				</div> |  |  |  | 				</div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 				<div class="attach_item panel-body "> |  |  |  | 				<div class="attach_item panel-body "> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<div class="col-md-offset-1"> |  |  |  | 					<div class="col-md-offset-1"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<% homework.homeworks.each do |homeattach|%><%#homework.class == Bid %> |  |  |  | 					<% homework.homeworks.each do |homeattach|%><%#homework.class == Bid %> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<% homeattach.attachments.each do |attach|%> |  |  |  | 					<% homeattach.attachments.each do |attach|%> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<%= link_to_attachment attach, author: true, :download => true %> (<%=attach.author%>) |  |  |  | 					<%= attach.filename %> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					<%#= link_to_attachment attach, author: true, :download => true %> (<%=attach.author%>) | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<br/> |  |  |  | 					<br/> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<% homeworks_attach_path << attach.storage_path %> |  |  |  | 					<% homeworks_attach_path << attach.storage_path %> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<% end %> |  |  |  | 					<% end %> | 
			
		
	
	
		
		
			
				
					|  |  | @ -44,7 +36,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 					</div> |  |  |  | 					</div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 				</div> |  |  |  | 				</div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 				<%# 所有作业的文件列表%> |  |  |  | 				<%# 所有作业的文件列表%> | 
			
		
	
		
		
			
				
					
					|  |  |  | 				<!-- (<%=homeworks_attach_path.count%>):<%= homeworks_attach_path.to_json %> --> |  |  |  | 				<!-- (<%#=homeworks_attach_path.count%>):<%#= homeworks_attach_path.to_json %> --> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			</div> |  |  |  | 			</div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 			<% end %> |  |  |  | 			<% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  | 		</div> |  |  |  | 		</div> | 
			
		
	
	
		
		
			
				
					|  |  | @ -52,3 +44,4 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 	<hr/> |  |  |  | 	<hr/> | 
			
		
	
		
		
			
				
					
					|  |  |  | 	<% end %> |  |  |  | 	<% end %> | 
			
		
	
		
		
			
				
					
					|  |  |  | </div> |  |  |  | </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | <div class="pagination"><%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false %></div> |