Basis of rails-driven app for local business
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

45 lines
1.4 KiB

  1. <% form_for @load do |f| %>
  2. <%= f.error_messages %>
  3. <div id="load_detail">
  4. <fieldset>
  5. <legend>Load Detail</legend>
  6. <table cellspacing="0">
  7. <col /><col /><col /><col /><col /><col /><col />
  8. <col /><col /><col /><col /><col /><col /><col />
  9. <tr>
  10. <td colspan="3"><%= f.label :number, "Trip Number" %></td>
  11. <td colspan="3"><%= f.label :hub_in %></td>
  12. <td colspan="3"><%= f.label :hub_out %></td>
  13. <td colspan="5"></td>
  14. </tr>
  15. <tr>
  16. <td colspan="3" class="border"><%= f.text_field :number %></td>
  17. <td colspan="3" class="border"><%= f.text_field :hub_in %></td>
  18. <td colspan="3" class="border"><%= f.text_field :hub_out %></td>
  19. <td colspan="5" class="border"></td>
  20. </tr>
  21. <tr>
  22. <td colspan="4"><%= f.label :start_date %></td>
  23. <td colspan="4"><%= f.label :end_date %></td>
  24. <td colspan="1"><label>St</label></td>
  25. <td colspan="5"></td>
  26. </tr>
  27. <tr>
  28. <td colspan="4" class="border">
  29. <%= f.calendar_date_select :start_date, :maxsize => "10" %></td>
  30. <td colspan="4" class="border">
  31. <%= f.calendar_date_select :end_date, :maxsize => "10" %></td>
  32. <td colspan="1" class="border"></td>
  33. <td colspan="5" class="border"></td>
  34. </tr>
  35. </table>
  36. </fieldset>
  37. </div>
  38. <div id="load_expense">
  39. <fieldset>
  40. <legend>Load Expenses</legend>
  41. </fieldset>
  42. </div>
  43. <hr noshade size="1" class="clear">
  44. <p><%= f.submit "Submit" %></p>
  45. <% end %>