You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.4 KiB
45 lines
1.4 KiB
<% form_for @load do |f| %>
|
|
<%= f.error_messages %>
|
|
<div id="load_detail">
|
|
<fieldset>
|
|
<legend>Load Detail</legend>
|
|
<table cellspacing="0">
|
|
<col /><col /><col /><col /><col /><col /><col />
|
|
<col /><col /><col /><col /><col /><col /><col />
|
|
<tr>
|
|
<td colspan="3"><%= f.label :number, "Trip Number" %></td>
|
|
<td colspan="3"><%= f.label :hub_in %></td>
|
|
<td colspan="3"><%= f.label :hub_out %></td>
|
|
<td colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" class="border"><%= f.text_field :number %></td>
|
|
<td colspan="3" class="border"><%= f.text_field :hub_in %></td>
|
|
<td colspan="3" class="border"><%= f.text_field :hub_out %></td>
|
|
<td colspan="5" class="border"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4"><%= f.label :start_date %></td>
|
|
<td colspan="4"><%= f.label :end_date %></td>
|
|
<td colspan="1"><label>St</label></td>
|
|
<td colspan="5"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4" class="border">
|
|
<%= f.calendar_date_select :start_date, :maxsize => "10" %></td>
|
|
<td colspan="4" class="border">
|
|
<%= f.calendar_date_select :end_date, :maxsize => "10" %></td>
|
|
<td colspan="1" class="border"></td>
|
|
<td colspan="5" class="border"></td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
</div>
|
|
<div id="load_expense">
|
|
<fieldset>
|
|
<legend>Load Expenses</legend>
|
|
</fieldset>
|
|
</div>
|
|
<hr noshade size="1" class="clear">
|
|
<p><%= f.submit "Submit" %></p>
|
|
<% end %>
|