|
|
@ -26,14 +26,18 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<div class="calendar_div fl mr10">
|
|
|
|
<div class="calendar_div fl mr10">
|
|
|
|
<input type="text" name="homework_common[end_time]" id="homework_end_time" placeholder="截止日期" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%= homework.end_time%>" >
|
|
|
|
<input type="text" name="homework_common[end_time]" id="homework_end_time" placeholder="截止日期" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%= homework.end_time%>" >
|
|
|
|
<%= calendar_for('homework_end_time')%>
|
|
|
|
<% if homework.homework_detail_manual.comment_status.to_i < 3 %>
|
|
|
|
|
|
|
|
<%= calendar_for('homework_end_time')%>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% if edit_mode %>
|
|
|
|
<% if edit_mode %>
|
|
|
|
<label class="fl c_grey f14" style="margin-top: 4px;">发布日期(可选):</label>
|
|
|
|
<label class="fl c_grey f14" style="margin-top: 4px;">发布日期(可选):</label>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<div class="calendar_div fl">
|
|
|
|
<div class="calendar_div fl">
|
|
|
|
<input type="text" name="homework_common[publish_time]" id="homework_publish_time" placeholder="发布日期(可选)" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%= homework.publish_time%>" >
|
|
|
|
<input type="text" name="homework_common[publish_time]" id="homework_publish_time" placeholder="发布日期(可选)" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%= homework.publish_time%>" >
|
|
|
|
<%= calendar_for('homework_publish_time')%>
|
|
|
|
<% if homework.homework_detail_manual.comment_status.to_i == 0 %>
|
|
|
|
|
|
|
|
<%= calendar_for('homework_publish_time')%>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|