Listing instruments

<%= link_to 'New instrument', new_instrument_path %> <% for instrument in @instruments %> <% end %>

Name

Serial Number

Instrument Version

Active Instrument

Edit

Destroy

<%=h instrument.name %> <%=h instrument.serial_number %> <%=h instrument.instrument_version %> <%= instrument.active ? "Yes" : "No" %> <%= link_to 'Edit', edit_instrument_path(instrument) %> <%= link_to 'Destroy', instrument, :confirm => 'Are you sure?', :method => :delete %>
<%= render :partial => 'shared/tinytable', :locals => {:sort_column => 0} %>