6 % my $stock_id = $stockref->{stock_id};
8 <& /page/page_title.mas, title=> 'Create a New Stock' &>
11 <&| /page/info_section.mas, title=>"Stock details" &>
14 <div class="col-sm-12">
18 object_id=>"$stock_id",
19 form_name=> 'stock_form',
20 server_side_script => '/phenome/stock/stock_ajax_form.pl',
21 form_div_name=>'stock_details',
22 js_object_name=> 'stockForm',
23 page_url => "/stock/$stock_id/view/" ,
24 alternate_new_button => '<a class="btn btn-sm btn-default" href ="/stock/0/new">New</a>'
32 <script language="javascript">
33 function jqueryStuff() {
35 jQuery("#species_name").autocomplete({
36 source: '/organism/autocomplete'