<%= date_select 'add_samples', 'submission_date' %>
<%= text_field 'add_samples', 'number', :size => 5 %>
Lab Group
<% authorized?(:controller => 'lab_groups', :action => 'new'){ %>
(<%= link_to 'Add Lab Group', :controller=> 'lab_groups', :action => 'new' %>) <% } %>
Chip Type
<% authorized?(:controller => 'chip_types', :action => 'new'){ %>
(<%= link_to 'Add Chip Type', :controller=> 'chip_types', :action => 'new' %>) <% } %>
<%= text_field 'add_samples', 'sbeams_user' %>
<%= text_field 'add_samples', 'sbeams_project' %>
<%= text_field 'add_samples', 'sbeams_user' %>
<%= text_field 'add_samples', 'sbeams_project' %>