Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / mason / phenome / obsolete_accession_link.mas
blob55e7dd4161098cc887631936a7658a0406ef1871
3 <%doc>
5 =head1 NAME
7 /phenome/obsolete_accession_link.mas - a component for printing an 'obsolete associated accession' button
9 =head1 DESCRIPTION
12 Parameters:
14 =over 1
16 =item individual_allele_id
18 database id 
20 =back
22 =head1 AUTHOR
24 Naama Menda <nm249@cornell.edu>
26 =cut 
28 </%doc>
30 <%args>
32 $individual_allele_id
35 </%args>
37 <%perl>
38 #my $individual_allele_id = $locus->get_individual_allele_id($individual_id);
40 </%perl>
43 <a href="javascript:Locus.obsoleteIndividualAllele('$individual_allele_id')">[Remove]</a>
45 <div id='obsoleteIndividualAlleleForm' style="display: none">
46   <div id='individual_allele_id_hidden'>
47     <input type="hidden" 
48            value=<% $individual_allele_id %>
49            id="<% $individual_allele_id" %> >
50   </div>
51 </div>