Fix bug.
This commit is contained in:
parent
ac0b619381
commit
22b451eb63
|
@ -124,7 +124,7 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<div class="control-group">
|
||||||
<%= f.label t("start_date"), :class=>"control-label" %>
|
<%= f.label t("start_date"), :class=>"control-label" %>
|
||||||
<%#= f.datetime_select :start %>
|
<%#= f.datetime_select :start %>
|
||||||
|
|
Loading…
Reference in New Issue