<% 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.submit "Submit" %>

<% end %>