Skip to content

Commit b28e2cf

Browse files
committed
Match layout of CHECKBOXARRAY for new and edit.
On the new form it was a mess with all checkboxed in a row, on edit it was a nice list. Especially visible on the Remote user form.
1 parent dd965fc commit b28e2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tform_base.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ function getHTML($record, $tab, $action = 'NEW') {
697697
if(trim($tvl) == trim($k)) $checked = ' CHECKED';
698698
}
699699
// $out .= "<label for=\"".$key."[]\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key."[]\" value=\"$k\" type=\"checkbox\" $checked /> $v</label>\r\n";
700-
$out .= "<label for=\"".$key.$elementNo."\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key.$elementNo."\" value=\"$k\" type=\"checkbox\" $checked /> $v</label> &nbsp;\r\n";
700+
$out .= "<label for=\"".$key.$elementNo."\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key.$elementNo."\" value=\"$k\" type=\"checkbox\" $checked /> $v</label><br/>\r\n";
701701
$elementNo++;
702702
}
703703
}

0 commit comments

Comments
 (0)