graphical filtering of accession search
[sgn.git] / mason / search / forms / directory_tab.mas
blob8ad5e93dc85310f54e77fa7a31af726ac3f3cc2d
2 <%doc>
4 =head1 NAME 
6 directory_tab.mas - mason component that displays the search form for the directory search.
8 =head1 DESCRIPTION
10 takes an optional CXGN::Searches::People object as a parameter named q.
12 =head1 AUTHOR
14 Lukas Mueller <lam87@cornell.edu>
16 =cut
18 </%doc>
20 <%perl>
22     my $q    = $ARGS{q};
23     $q ||= CXGN::Searches::People->new()->new_query();
26 </%perl>
28   <table class="search_form_title"><tr><td>
29     <span class="search_form_title">Directory search</span>
30   </td>
31   </tr>
32   </table>
34 <form action="/solpeople/people_search.pl" method="get">
35   <div class="indentedcontent">
36     <% $q->to_html() %>
37   </div>
38 </form>