Added title to printFormAsGrid

This commit is contained in:
Calvo 2022-10-20 13:42:08 +02:00
parent 7eb1aa5549
commit 2d71c75405
1 changed files with 6 additions and 0 deletions

View File

@ -935,6 +935,12 @@ class HTML
$output_head = '<form class="discovery" onsubmit="'.$form['onsubmit'].'" enctype="'.$form['enctype'].'" action="'.$form['action'].'" method="'.$form['method'];
$output_head .= '" id="'.$form['id'].'" '.$form['extra'].'>';
if (isset($form['title']) === true && empty($form['title']) === false) {
$output_head .= '<div class="form_title"">';
$output_head .= '<span>'.$form['title'].'</span>';
$output_head .= '</div>';
}
if ($return === false) {
echo $output_head;
}