Listing Lab Groups

<%= link_to 'New lab_group', :action => 'new' %>

<% if @lab_groups.size > 0 %> <% LabGroupProfile.index_columns.each do |c| %> <% end %> <% for lab_group in @lab_groups %> <% profile = lab_group.lab_group_profile %> <% LabGroupProfile.index_columns.each do |c| %> <% end %> <% end %>

Name

<%= c.humanize %>

Edit

Destroy

<%=h lab_group.name %><%=h profile.send(c) %><%= link_to 'Edit', :action => 'edit', :id => lab_group %> <%= link_to 'Destroy', lab_group, :confirm => profile.destroy_warning, :method => :delete %>
<%= render :partial => 'shared/tinytable', :locals => {:sort_column => 0} %> <% else %>

There are currently no lab groups.

<% end %>