small date fix

This commit is contained in:
Harry Bomrah 2017-08-07 15:56:27 +08:00
parent aa3584f66a
commit b336730f9d
1 changed files with 7 additions and 6 deletions

View File

@ -38,6 +38,13 @@
</div>
</div>
<div class="control-group input-period">
<%= f.label :period ,t('e_paper.period'), :class => "control-label muted" %>
<div class="controls">
<%= f.datetime_picker :period, :no_label => true, :new_record => @paper.new_record? %>
</div>
</div>
</div>
<div class="tab-pane fade" id="imageupload">
@ -92,12 +99,6 @@
</div>
</div>
<div class="control-group input-period">
<%= f.label :period ,t('e_paper.period'), :class => "control-label muted" %>
<div class="controls">
<%= f.datetime_picker :period, :no_label => true, :new_record => @paper.new_record? %>
</div>
</div>
<div class="control-group input-description">
<%= f.label :description ,t('e_paper.description'), :class => "control-label muted" %>