fix for date
This commit is contained in:
parent
441d3fe32e
commit
5731fa0e84
|
@ -77,7 +77,7 @@
|
|||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t(:start_date) %></label>
|
||||
<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>
|
||||
|
||||
|
@ -85,7 +85,7 @@
|
|||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t(:end_date) %></label>
|
||||
<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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue