模拟答题的返回按钮应该回到课程作业列表
This commit is contained in:
parent
cdd8deb340
commit
f8ce6d48d3
|
@ -97,7 +97,7 @@
|
||||||
<div class="mt10">
|
<div class="mt10">
|
||||||
<a href="javascript:void(0);" class="BlueCirBtn fl" data-homework-id="<%=@homework.id%>" data-student-work-id="<%=@student_work.id%>" id="test-program-btn">测试代码</a>
|
<a href="javascript:void(0);" class="BlueCirBtn fl" data-homework-id="<%=@homework.id%>" data-student-work-id="<%=@student_work.id%>" id="test-program-btn">测试代码</a>
|
||||||
<% if @is_test %>
|
<% if @is_test %>
|
||||||
<%=link_to '返 回',course_path(@course),:class=>'fr mt6' %>
|
<%=link_to '返 回',homework_common_index_path(:course => @course.id),:class=>'fr mt6' %>
|
||||||
<% else @is_test %>
|
<% else @is_test %>
|
||||||
<a href="javascript:void(0);" class="BlueCirBtn fr" id="commit-program-work-btn">提交代码</a>
|
<a href="javascript:void(0);" class="BlueCirBtn fr" id="commit-program-work-btn">提交代码</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue