fix field alignment issue
This commit is contained in:
parent
a519ebe19b
commit
149d276e06
1 changed files with 1 additions and 5 deletions
|
@ -177,14 +177,10 @@ class Label implements View
|
||||||
// The end result of this will be in this format:
|
// The end result of this will be in this format:
|
||||||
// {labelOne} {valueOne} | {labelTwo} {valueTwo} | {labelThree} {valueThree}
|
// {labelOne} {valueOne} | {labelTwo} {valueTwo} | {labelThree} {valueThree}
|
||||||
$previous['value'] = trim(implode(' | ', [
|
$previous['value'] = trim(implode(' | ', [
|
||||||
implode(' ', [$previous['label'], $previous['value']]),
|
implode(' ', [null, $previous['value']]),
|
||||||
implode(' ', [$current['label'], $current['value']]),
|
implode(' ', [$current['label'], $current['value']]),
|
||||||
]));
|
]));
|
||||||
|
|
||||||
// We'll set the label to an empty string since we
|
|
||||||
// injected the label into the value field above.
|
|
||||||
$previous['label'] = '';
|
|
||||||
|
|
||||||
return $previous;
|
return $previous;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue