Fix bug.
This commit is contained in:
parent
ac0b619381
commit
22b451eb63
|
@ -124,7 +124,7 @@
|
|||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<% data_format = (@event.all_day || @event.new_record?) ? 'yyyy/MM/dd' : 'yyyy/MM/dd hh:mm' %>
|
||||
<% data_format = @event.all_day ? 'yyyy/MM/dd' : 'yyyy/MM/dd hh:mm' %>
|
||||
<div class="control-group">
|
||||
<%= f.label t("start_date"), :class=>"control-label" %>
|
||||
<%#= f.datetime_select :start %>
|
||||
|
|
Loading…
Reference in New Issue