package SGN::View::Mason::Commands;
use strict;
use vars qw($m $c);
HTML::Mason::Component::FileBased->new(
'code' => sub {
use utf8; local $SGN::View::Mason::Commands::m = $HTML::Mason::Commands::m;
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 14 "/home/production/cxgn/sgn/mason/solgs/search/combine_trials_table.mas"
$m->print( '
' );
#line 18 "/home/production/cxgn/sgn/mason/solgs/search/combine_trials_table.mas"
$m->print( '
' );
#line 19 "/home/production/cxgn/sgn/mason/solgs/search/combine_trials_table.mas"

	my $combine_button;
	if ($c->req->path =~ /solgs\/search\/trials\/trait/) {
		$combine_button = 'Combine trials & build model';
	} else {
		$combine_button = 'Combine trials';
	}


#line 29 "/home/production/cxgn/sgn/mason/solgs/search/combine_trials_table.mas"
$m->print( '
<div id="selected_trials" style="display:none;width:100%">

 <p class="message"> Selected trials </p>

<table class ="table" id="selected_trials_table" style="text-align:left;width:100%">
<tr>
  <th></th>
  <th>Trial</th>
  <th>Description</th>
  <th>Location</th>
  <th>Year</th>
  <th>More details</th>
</tr>
<tr>
</tr>
</table>
</div>


<table class="table" id="selected_trials_header" style="text-align:left;width:100%">
<tr>
  <td>
    <div id="combine_trials_div" style="display:none">
      <input  class="button" type="button" id="combine_trait_trials" value="' );
#line 53 "/home/production/cxgn/sgn/mason/solgs/search/combine_trials_table.mas"
$m->print(  $combine_button  );
#line 53 "/home/production/cxgn/sgn/mason/solgs/search/combine_trials_table.mas"
$m->print( '"/>
  </div>
  </td>
  <td>
    <div id="search_again_div" style="display:none;text-align:right">
    <input style class="button" type="button" id="search_again" value="Search again"/>
  </div>
 </td>
</tr>
</table>
' );
;return;
},
'load_time' => 1763091696,

)
;