@@ -26,13 +26,13 @@ |
||
26 | 26 | <?php foreach ($roles as $role) { ?> |
27 | 27 | <?php |
28 | 28 | $fields = $designer->getAvailable($role)->all(); |
29 | - $id = 'fields-available-'.$role; |
|
29 | + $id = 'fields-available-' . $role; |
|
30 | 30 | ?> |
31 | 31 | <div class="accordion-item"> |
32 | 32 | <h2 class="accordion-header"> |
33 | 33 | <button class="accordion-button" type="button" data-bs-toggle="collapse" |
34 | 34 | data-bs-target="#<?= $id; ?>" aria-expanded="true" aria-controls="<?= $id; ?>"> |
35 | - <?= $consumer->getManager()->getLabel('forms.role.'.$role) ?> |
|
35 | + <?= $consumer->getManager()->getLabel('forms.role.' . $role) ?> |
|
36 | 36 | </button> |
37 | 37 | </h2> |
38 | 38 | <div id="<?= $id; ?>" class="accordion-collapse collapse show" |
@@ -19,7 +19,7 @@ |
||
19 | 19 | <?php if ($fields) { ?> |
20 | 20 | <div class="form-panel"> |
21 | 21 | <div class="header"> |
22 | - <?= $manager->getLabel('existing.'.$role) ?> |
|
22 | + <?= $manager->getLabel('existing.' . $role) ?> |
|
23 | 23 | </div> |
24 | 24 | <div class="fields-body"> |
25 | 25 | <?= $this->load( |
@@ -19,9 +19,9 @@ |
||
19 | 19 | $object = $listTypes->get($value); |
20 | 20 | if ($object === null) { |
21 | 21 | throw new Exception( |
22 | - 'Field type not found: '.$name.' - '.$value |
|
23 | - .'. Available classes: '.implode(', ', array_keys($listTypes->all())) |
|
24 | - .'. Available names: '.implode(', ', array_keys($listTypes->classmap())) |
|
22 | + 'Field type not found: ' . $name . ' - ' . $value |
|
23 | + .'. Available classes: ' . implode(', ', array_keys($listTypes->all())) |
|
24 | + .'. Available names: ' . implode(', ', array_keys($listTypes->classmap())) |
|
25 | 25 | ); |
26 | 26 | } |
27 | 27 | $object->setItem($this); |