%= error_messages_for 'inventory_check' %>
<%= date_select 'inventory_check', 'date' %>
<% authorized?(:controller => 'lab_groups', :action => 'new'){ %>
(<%= link_to 'Add Lab Group', :controller=> 'lab_groups', :action => 'new' %>) <% } %>
<% authorized?(:controller => 'chip_types', :action => 'new'){ %>
(<%= link_to 'Add Chip Type', :controller=> 'chip_types', :action => 'new' %>) <% } %>
<%= text_field 'inventory_check', 'number_expected' %>
<%= text_field 'inventory_check', 'number_counted' %>