<%= 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' %>) <% } %>

<% if SiteConfig.using_affy_arrays? && SiteConfig.create_gcos_files? && SiteConfig.using_sbeams? %>


<%= text_field 'add_samples', 'sbeams_user' %>


<%= text_field 'add_samples', 'sbeams_project' %>

<% elsif SiteConfig.using_affy_arrays? && SiteConfig.create_gcos_files? %>


<%= text_field 'add_samples', 'sbeams_user' %>


<%= text_field 'add_samples', 'sbeams_project' %>

<% else %> <%= hidden_field 'add_samples', 'sbeams_user' %> <%= hidden_field 'add_samples', 'sbeams_project' %> <% end %>