File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 48
48
49
49
$ display_condition = new PluginFieldsContainerDisplayCondition ();
50
50
if ($ display_condition ->computeDisplayContainer ($ item , $ containers_id )) {
51
+ $ field_options = [
52
+ 'label_class ' => 'col-lg-3 ' ,
53
+ 'input_class ' => 'col-lg-9 ' ,
54
+ ];
55
+ echo "<div class='offset-md-1 col-md-8 col-xxl-6'> " ;
51
56
PluginFieldsField::showDomContainer (
52
57
$ containers_id ,
53
58
$ item ,
54
59
$ type ,
55
60
$ subtype ,
61
+ $ field_options
56
62
);
63
+ echo "</div> " ;
57
64
} else {
58
65
echo '' ;
59
66
}
Original file line number Diff line number Diff line change @@ -887,12 +887,10 @@ public static function showForTab($params)
887
887
{
888
888
$ item = $ params ['item ' ];
889
889
890
- if ($ item ->fields ['type ' ] == "" )
891
- {
890
+ if ($ item ->fields ['type ' ] == "" ) {
892
891
$ item ->fields ['type ' ] = $ params ['options ' ]['type ' ];
893
892
}
894
- if ($ item ->fields ['itilcategories_id ' ] == "" )
895
- {
893
+ if ($ item ->fields ['itilcategories_id ' ] == "" ) {
896
894
$ item ->fields ['itilcategories_id ' ] = $ params ['options ' ]['itilcategories_id ' ];
897
895
}
898
896
You can’t perform that action at this time.
0 commit comments