% provide(:head_title, t('sample_groups.index.head_title')) %>
<%= render partial: "shared/sidebar" %>
<%= render partial: "shared/secondary_navigation" %>
<% if current_team %>
-
<%= bootstrap_form_for SampleGroup.new,
remote: true,
html: { class: 'form-inline' },
url: team_sample_groups_path(current_team) do |f| %>
<%= f.text_field :name,
id: 'name-input',
class: 'form-control',
hide_label: true %>
<% end %>
<% @sample_groups.sorted.each do |sample_group| %>
<%= render partial: 'sample_group',
locals: { sample_group: sample_group,
team: current_team } %>
<% end %>
<% end %>
<%= javascript_include_tag 'samples/sample_types_groups' %>