fix for dates
This commit is contained in:
parent
bccfe525de
commit
7ebdf7c3d7
|
@ -127,7 +127,7 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted"><%= t(:start_date) %></label>
|
<label class="control-label muted"><%= t(:start_date) %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.datetime_picker :postdate, :no_label => true %>
|
<%= f.datetime_picker :postdate, :no_label => true, :new_record => @ad_image.new_record? %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label muted"><%= t(:end_date) %></label>
|
<label class="control-label muted"><%= t(:end_date) %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.datetime_picker :deadline, :no_label => true %>
|
<%= f.datetime_picker :deadline, :no_label => true, :new_record => @ad_image.new_record? %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue