5 stock/barcode/upload_confirm.mas - a mason component for displaying a confirmation
6 message of stock phenotyping data loaded from a barcode reader.
11 Naama Menda <nm249@cornell.edu>
21 $data => undef # formatted data to be printed on confirmation page
31 my $warning_string = join "<br />" , @warnings;
33 $err_string = "No errors found! Click the Confirm upload button to proceed";
35 $err_string .= "The following errors were found. Please correct and try again. <a href=\"mailto:$feedback_email\">Contact us</a> for assistance : <br />";
36 $err_string .= join "<br />" , @errors;
37 $err_string .= "<h4>Cannot continue with uploading.</h4>";
38 $err_string .= qq|<a href="javascript:history.back()">Go back to upload page</a>|;
43 <& /page/page_title.mas, title => "Confirm barcode data upload" &>
44 <&| /page/info_section.mas, title => "Confirm upload" &>
45 <form action="/barcode/stock/store" method="POST" >
46 <h4>Warnings</h4><div> <% $warning_string %> </div>
48 <h4>Errors</h4><div> <% $err_string %> </div>
50 <input type="hidden" name="type" value="confirm">
51 <input type="hidden" name="tempfile" value="<% $tempfile %>">
54 <input type = "submit" value = "Confirm upload">