|
|
|
@ -11,8 +11,10 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<%= form_for '', :url => edit_update_notice_managements_path(), :html => {:id => 'edit_update_notice_form', :method => "post"} do |f| %>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="text" placeholder="请选择开始时间" readonly name="start_time" value="<%= format_time @notice.try(:start_time) %>" class="winput-240-35 mt10 mb15" id="notice_begin_time"/><br/>
|
|
|
|
|
<input type="text" placeholder="请选择结束时间" readonly name="end_time" value="<%= format_time @notice.try(:end_time) %>" class="winput-240-35 mb10" id="notice_end_time"/>
|
|
|
|
|
<input type="text" placeholder="请选择开始时间" readonly name="start_time" value="<%= @notice.try(:end_time) && @notice.try(:end_time) > Time.now ? format_time(@notice.try(:start_time)) : "" %>"
|
|
|
|
|
class="winput-240-35 mt10 mb15" id="notice_begin_time"/><br/>
|
|
|
|
|
<input type="text" placeholder="请选择结束时间" readonly name="end_time" value="<%= @notice.try(:end_time) && @notice.try(:end_time) > Time.now ? format_time(@notice.try(:end_time)) : "" %>"
|
|
|
|
|
class="winput-240-35 mb10" id="notice_end_time"/>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input class="winput-240-35" name="subject" value="<%= @notice.try(:subject) ? @notice.try(:subject) : ' educoder系统升级暂停服务通知' %>" id="upgradeTitleText"/>
|
|
|
|
|