fix test with new description field.
[sgn.git] / mason / breeders_toolbox / program / product_profile.mas
blob252f883b659644c4818c3de5baa51c6aa0ce0b80
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="product_profile_table" class="display">
10     <thead>
11         <tr>
12             <th>Product Profile Name</th>
13             <th>Scope</th>
14             <th>Trait</th>
15             <th>Submitter</th>
16             <th>Date (Y-M-D)</th>
17         </tr>
18     </thead>
19 </table>
21 <script>
23 jQuery(document).ready(function () {
25     jQuery('#product_profile_table').DataTable( {
26         'autoWidth': false,
27         'ajax': '/ajax/breeders/program/'+ <% $program_id %> + '/product_profiles',
28         'order': false,
29     });
31 });
34 </script>