diff --git a/app/views/homework_common/index.html.erb b/app/views/homework_common/index.html.erb
index 2de96bca1..c0f716ed7 100644
--- a/app/views/homework_common/index.html.erb
+++ b/app/views/homework_common/index.html.erb
@@ -71,18 +71,30 @@
<% end%>
+
+
+
+
开发语言:
+
+ <% if homework.homework_detail_programing.language.to_i == 1%>
+ C
+ <% elsif homework.homework_detail_programing.language.to_i == 2%>
+ C++
+ <% end%>
+
+
+
<% end%>
-
-
- <% unless homework.attachments.empty?%>
+ <% unless homework.attachments.empty?%>
+
附件:
<%= render :partial => 'student_work/work_attachments', :locals => {:attachments => homework.attachments} %>
- <% end%>
-
-
+
+
+ <% end%>
扣分标准:
diff --git a/app/views/student_work/index.html.erb b/app/views/student_work/index.html.erb
index fc82aea1e..92f6f93e0 100644
--- a/app/views/student_work/index.html.erb
+++ b/app/views/student_work/index.html.erb
@@ -139,6 +139,14 @@
<% if @homework.homework_type == 2 && @homework.homework_detail_programing%>
+ ">
+
+ 输入
+ |
+
+ 输出
+ |
+
<% @homework.homework_tests.each do |test|%>
">
@@ -151,8 +159,20 @@
<% end%>
|
+
+
+
+
开发语言:
+
+ <% if @homework.homework_detail_programing.language.to_i == 1%>
+ C
+ <% elsif @homework.homework_detail_programing.language.to_i == 2%>
+ C++
+ <% end%>
+
+
+
<% end%>
-
<% unless @homework.attachments.empty?%>