%= error_messages_for 'chip_transaction' %>
A Description is required, however only one of the other fields (Acquire, Used, etc.) needs to be entered
Date | Lab Group <%= link_to '(Add)', :controller => 'lab_groups', :action => 'new' %> |
Chip Type <%= link_to '(Add)', :controller => 'chip_types', :action => 'new' %> |
Description (required) | Acquired | Used | Traded/ Sold |
Borrowed from another group |
Returned to another group |
Borrowed from this group |
Returned to this group |
<%= date_select 'chip_transaction', 'date', :use_month_numbers => true %> | <%= text_field 'chip_transaction', 'description', 'size' => 25 %> | <%= text_field 'chip_transaction', 'acquired', 'size' => 5 %> | <%= text_field 'chip_transaction', 'used', 'size' => 5 %> | <%= text_field 'chip_transaction', 'traded_sold', 'size' => 5 %> | <%= text_field 'chip_transaction', 'borrowed_in', 'size' => 5 %> | <%= text_field 'chip_transaction', 'returned_out', 'size' => 5 %> | <%= text_field 'chip_transaction', 'borrowed_out', 'size' => 5 %> | <%= text_field 'chip_transaction', 'returned_in', 'size' => 5 %> |