fix test with new description field.
[sgn.git] / mason / breeders_toolbox / program / program_genotyping_plates.mas
blob3d5be66c58173b4b57085714c5cc135d25a1a43d
1 <%args>
2 $program_id
3 </%args>
5 <& /util/import_javascript.mas, classes => [ 'jquery', 'jquery.dataTables' ] &>
6 <& /util/import_css.mas, paths => ['/documents/inc/datatables/jquery.dataTables.css'] &>
9 <table id="program_genotyping_plates" class="display">
10     <thead>
11         <tr>
12             <th>Genotyping Plate Name</th>
13             <th>Description</th>
14         </tr>
15     </thead>
16 </table>
18 <script>
20 jQuery(document).ready(function () {
22     jQuery('#program_genotyping_plates').DataTable({
23         'autoWidth': false,
24         'ajax': '/ajax/breeders/program/'+ <% $program_id %> + '/genotyping_plates',
25     });
27 });
30 </script>