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 56
56
57
57
$ display_condition = new PluginFieldsContainerDisplayCondition ();
58
58
if ($ display_condition ->computeDisplayContainer ($ item , $ containers_id )) {
59
+ $ field_options = [
60
+ 'label_class ' => 'col-lg-3 ' ,
61
+ 'input_class ' => 'col-lg-9 ' ,
62
+ ];
63
+ echo "<div class='offset-md-1 col-md-8 col-xxl-6'> " ;
59
64
PluginFieldsField::showDomContainer (
60
65
$ containers_id ,
61
66
$ item ,
62
67
$ type ,
63
68
$ subtype ,
69
+ $ field_options
64
70
);
71
+ echo "</div> " ;
65
72
} else {
66
73
echo '' ;
67
74
}
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