|
|
|
@ -1,37 +1,3 @@
|
|
|
|
|
<div class="top-content">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style="width: 240px; color: #15bccf">高校课程实践社区</td>
|
|
|
|
|
<td style="width: auto; color: #15bccf">
|
|
|
|
|
<strong>
|
|
|
|
|
<%= l(:label_user_location) %> :
|
|
|
|
|
</strong>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 8px">
|
|
|
|
|
<a>
|
|
|
|
|
<%= link_to request.host()+"/courses", :controller => 'courses', :action => 'index'%>
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<p class="top-content-list-homework">
|
|
|
|
|
<%=link_to "主页", home_path %> >
|
|
|
|
|
<%=link_to l(:label_course_practice), :controller => 'courses', :action => 'index' %> >
|
|
|
|
|
<span>
|
|
|
|
|
<%= link_to(@bid.courses.first.name.to_s, homework_course_path(@bid.courses.first)) if @bid.courses.first%>
|
|
|
|
|
</span> >
|
|
|
|
|
<%=link_to(@bid.name, respond_path(@bid)) %> >
|
|
|
|
|
<span>
|
|
|
|
|
<%= link_to "创建作业", new_homework_attach_path(@bid)%>
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p style="font-weight: bold; color: rgb(237,137,36)" xmlns="http://www.w3.org/1999/html">
|
|
|
|
|
<%=h l(:label_new_homework)%>
|
|
|
|
|
</p>
|
|
|
|
|