<% form_for @load do |f| %> <%= f.error_messages %>
Load Detail
<%= f.label :number, "Trip Number" %> <%= f.label :hub_in %> <%= f.label :hub_out %>
<%= f.text_field :number %> <%= f.text_field :hub_in %> <%= f.text_field :hub_out %>
<%= f.label :start_date %> <%= f.label :end_date %>
<%= f.calendar_date_select :start_date, :maxsize => "10" %> <%= f.calendar_date_select :end_date, :maxsize => "10" %>
Load Expenses

<%= f.submit "Submit" %>

<% end %>