New : help picto for fields in creation

This commit is contained in:
Abbes Bahfir 2018-11-03 11:05:12 +01:00
parent 970f501147
commit 5f4d644cab

View File

@ -49,6 +49,9 @@ foreach($object->fields as $key => $val)
print '"';
print '>';
print $langs->trans($val['label']);
if(!empty($val['help'])){
print $form->textwithpicto('',$langs->trans($val['help']));
}
print '</td>';
print '<td>';
if (in_array($val['type'], array('int', 'integer'))) $value = GETPOST($key, 'int');