sanger/sequencescape

View on GitHub
app/views/admin/bait_libraries/_edit_form.html.erb

Summary

Maintainability
Test Coverage

<p>
  <%= f.label :name %><br />
  <%= f.text_field :name %>
</p>
<p>
  <%= f.label :bait_library_supplier_id, 'Supplier' %></br>
  <%= f.select(:bait_library_supplier_id, BaitLibrary::Supplier.visible.collect {|bt| [ bt.name, bt.id ] } ) %>
</p>
<p>
  <%= f.label :supplier_identifier, 'Supplier Identifier' %></br>
  <%= f.text_field :supplier_identifier %>
</p>

<p>
  <%= f.label :target_species %><br />
  <%= f.text_field :target_species %>
</p>
<p>
  <%= f.label :bait_library_type_id, 'Bait library type' %></br>
  <%= f.select(:bait_library_type_id, BaitLibraryType.visible.collect {|bt| [ bt.name, bt.id ] } ) %>
</p>