<%= form_for(@event) do |f| %>
  <% if @event.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>

      <ul>
      <% @event.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :project_id, 'Project' %><br />
    <%= f.select :project_id, Project.all.collect {|p| [ "#{p.client.name}: #{p.title}", p.id ] }.sort, { :include_blank => false } %>
  </div>

  <div class="field">
    <%= f.label :start %><br />
    <%= f.datetime_select :start %>
  </div>
  <% if !@event.new_record? %>
  <div class="field">
    <%= f.label :end %><br />
    <%= f.datetime_select :end %>
  </div>
  <% end %>
  <div class="field">
    <%= f.label :comment %><br />
    <%= f.text_field :comment %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

<%= form_for(@event) do |f| %>
  <% if @event.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>

      <ul>
      <% @event.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :project_id, 'Project' %><br />
    <%= f.select :project_id, Project.all.collect {|p| [ "#{p.client.name}: #{p.title}", p.id ] }.sort, { :include_blank => false } %>
  </div>

  <div class="field">
    <%= f.label :start %><br />
    <%= f.datetime_select :start, :include_seconds => true %>
  </div>
  <% if !@event.new_record? %>
  <div class="field">
    <%= f.label :end %><br />
    <%= f.datetime_select :end, :include_seconds => true %>
  </div>
  <% end %>
  <div class="field">
    <%= f.label :comment %><br />
    <%= f.text_field :comment %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Add seconds to the form fields.
Add seconds to the form fields.
