Merge pull request #5191 from solgenomics/topic/quality_control
[sgn.git] / mason / search / forms / images_tab.mas
blob0591fb088f9dc52cb3e5463462429808e824b8bb
3 <%doc>
5 =head1 NAME
7 /search/forms/images_tab.mas - a mason component to display the image search form
9 =head1 DESCRIPTION
11 =head1 AUTHOR
13 Lukas Mueller <lam87@cornell.edu> - based on SGN developed Perl code
15 =cut 
17 </%doc>
19 <%perl>
21 use CXGN::Searches::Images;
23 my $q    = $ARGS{q};
24 $q ||= CXGN::Searches::Images->new()->new_query();
26 </%perl>
29   <table class="search_form_title"><tr><td>
30     <span class="search_form_title">Image search</span>
31   </td>
32   </tr>
33   </table>
35 <form action="/search/image_search.pl" method="get">
36   <div class="indentedcontent">
38       <% $q->to_html() %>
39   </div>
40 </form>