Skip to content

Commit 5ef35aa

Browse files
committed
Added field options
1 parent 1161a62 commit 5ef35aa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ajax/container.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,17 @@
5656

5757
$display_condition = new PluginFieldsContainerDisplayCondition();
5858
if ($display_condition->computeDisplayContainer($item, $containers_id)) {
59+
$field_options = [
60+
'label_class' => 'col-lg-3',
61+
'input_class' => 'col-lg-9',
62+
];
5963
echo "<div class='offset-md-1 col-md-8 col-xxl-6'>";
6064
PluginFieldsField::showDomContainer(
6165
$containers_id,
6266
$item,
6367
$type,
6468
$subtype,
69+
$field_options
6570
);
6671
echo "</div>";
6772
} else {

0 commit comments

Comments
 (0)