Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function body() |
||
16 | { |
||
17 | $layout = $this->add(['View'])->addStyle('max-width:800px;margin:auto;'); |
||
18 | $layout->add(['Header', __('User Settings')]); |
||
19 | $segment = $layout->add(['View', ['ui' => 'segment']]); |
||
20 | |||
21 | foreach (UserSettingsJoint::collect() as $joint) { |
||
22 | $segment->add($joint->button()); |
||
23 | } |
||
48 |