<%= error_messages_for 'add_samples' %> <%= error_messages_for 'project' %>

Enter Samples

<% if(@lab_groups.size > 0 || current_user.staff_or_admin?) %> <% form_tag :action => 'add' do -%> <%= render :partial => 'form' %> <%= submit_tag "Add to Sample Table" %> <% end -%> <%= link_to 'Back to List', samples_path %> <% else %>

You need to belong to one or more lab groups before you can see or submit any samples.
Please contact your administrator at <%=h SiteConfig.administrator_email %> if you need
to be added to any lab groups.

<% end %>