C改为大写、编程属性设置的修改

This commit is contained in:
sw 2015-09-18 16:15:05 +08:00
parent 607c31c8c5
commit 1d39df5469
2 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,6 @@ class HomeworkDetailPrograming < ActiveRecord::Base
belongs_to :homework_common belongs_to :homework_common
def language_name def language_name
%W(c c++).at(self.language.to_i - 1) %W(C C++).at(self.language.to_i - 1)
end end
end end

View File

@ -29,7 +29,7 @@
<% end %> <% end %>
<div class="mt10"> <div class="mt10">
<span class="f12 c_red db mt5 fl">温馨提示:您可以在发布作业后,在作业“模拟答题”中进行标准代码的检测和提交。</span> <span class="f12 c_red db mt5 fl">温馨提示:您可以在发布作业后,在作业“模拟答题”中进行标准代码的检测。</span>
<a href="javascript:void(0);" class="BlueCirBtn fr">确&nbsp;&nbsp;定</a> <a href="javascript:void(0);" class="BlueCirBtn fr">确&nbsp;&nbsp;定</a>
<div class="cl"></div> <div class="cl"></div>
</div> </div>