From d4138876af8572b3e292a6e8bcbd2f50f28ceee8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 23 Dec 2019 11:10:55 +0100 Subject: [PATCH] Fix alignement in validation popup --- htdocs/core/class/html.form.class.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 614b17a4967..88e7f9b5b43 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4130,9 +4130,6 @@ class Form // Now add questions $more .= '
'."\n"; - if (!empty($formquestion['text'])) { - $more .= '
'.$formquestion['text'].'
'."\n"; - } foreach ($formquestion as $key => $input) { if (is_array($input) && !empty($input)) @@ -4246,8 +4243,11 @@ class Form } // Show JQuery confirm box. Note that global var $useglobalvars is used inside this template $formconfirm .= ''."\n"; @@ -4339,6 +4339,11 @@ class Form // Line title $formconfirm .= ''.img_picto('', 'recent').' '.$title.''."\n"; + // Line text + if (!empty($formquestion['text'])) { + $formconfirm .= ''.$formquestion['text'].''."\n"; + } + // Line form fields if ($more) {