2015-11-18 10:49:57 +08:00
|
|
|
<div class="testStatus"><!--头部显示 start-->
|
|
|
|
<a href="javascript:" class="testEdit" title="编辑" onclick="pollsEdit();"></a>
|
|
|
|
<!-- <a class='ur_icon_add' title='导入' id="import_btn" onclick="importPoll();"></a> -->
|
2015-11-17 18:22:31 +08:00
|
|
|
<h1 class="ur_page_title" id="polls_name_h"><%= exercise.exercise_name%></h1>
|
2015-11-18 10:49:57 +08:00
|
|
|
<div class="fontGrey2">
|
2015-11-25 09:38:13 +08:00
|
|
|
<% unless exercise.publish_time.nil? %>
|
2015-11-26 16:57:51 +08:00
|
|
|
<span class="mr100">发布时间:<%=Time.parse(h(exercise.publish_time)).strftime("%Y-%m-%d %H:%M:%S") if exercise.publish_time%></span>
|
2015-11-25 09:38:13 +08:00
|
|
|
<% end %>
|
2015-11-26 16:57:51 +08:00
|
|
|
<span class="mr100">截止时间:<%=Time.parse(h(exercise.end_time)).strftime("%Y-%m-%d %H:%M:%S") if exercise.end_time %></span>
|
2015-11-25 09:38:13 +08:00
|
|
|
<% if exercise.time != -1 %>
|
|
|
|
<span>测验时长:<%= exercise.time %>分钟</span>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2016-08-11 09:46:41 +08:00
|
|
|
<pre class="fontGrey2 font_cus" style="white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:pre-wrap;white-space:-o-pre-wrap;word-break:normal;word-wrap: break-word;">
|
|
|
|
<%= exercise.exercise_description.nil? ? "" :exercise.exercise_description.html_safe%>
|
|
|
|
</pre>
|
2015-11-18 10:49:57 +08:00
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|