forked from Wavyzz/dolibarr
Fix: style required in create or edit mode only
This commit is contained in:
@@ -4099,7 +4099,7 @@ abstract class CommonObject
|
||||
}
|
||||
|
||||
if($extrafields->attribute_required[$key])
|
||||
$label = '<span class="fieldrequired">'.$label.'</span>';
|
||||
$label = '<span'.($mode != 'view' ? ' class="fieldrequired"':'').'>'.$label.'</span>';
|
||||
|
||||
$out .= '<td>'.$langs->trans($label).'</td>';
|
||||
$out .='<td'.($colspan?' colspan="'.$colspan.'"':'').'>';
|
||||
|
||||
Reference in New Issue
Block a user