Merge branch 'ent-2190-filtros-en-migracion-de-agentes-metaconsola' into 'develop'

Added id to form on html print form grid

See merge request artica/pandorafms!5181
This commit is contained in:
Daniel Rodriguez 2022-10-21 09:26:26 +00:00
commit 77cb8be6cc
1 changed files with 7 additions and 1 deletions

View File

@ -933,7 +933,13 @@ class HTML
$cb_args = $data['cb_args']; $cb_args = $data['cb_args'];
$output_head = '<form class="discovery" onsubmit="'.$form['onsubmit'].'" enctype="'.$form['enctype'].'" action="'.$form['action'].'" method="'.$form['method']; $output_head = '<form class="discovery" onsubmit="'.$form['onsubmit'].'" enctype="'.$form['enctype'].'" action="'.$form['action'].'" method="'.$form['method'];
$output_head .= '" '.$form['extra'].'>'; $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) { if ($return === false) {
echo $output_head; echo $output_head;