| Conditions | 1 |
| Paths | 1 |
| Total Lines | 32 |
| Code Lines | 24 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function boot() |
||
| 15 | { |
||
| 16 | // Collective Form |
||
| 17 | Form::component( |
||
| 18 | 'bsText', |
||
| 19 | 'components.form.text', |
||
| 20 | ['name', 'label' => null, 'value' => null, 'attributes' => []] |
||
| 21 | ); |
||
| 22 | Form::component( |
||
| 23 | 'bsEmail', |
||
| 24 | 'components.form.email', |
||
| 25 | ['name', 'label' => null, 'value' => null, 'attributes' => []] |
||
| 26 | ); |
||
| 27 | Form::component( |
||
| 28 | 'bsTextarea', |
||
| 29 | 'components.form.textarea', |
||
| 30 | ['name', 'label' => null, 'value' => null, 'attributes' => []] |
||
| 31 | ); |
||
| 32 | Form::component('bsPassword', 'components.form.password', ['name', 'label' => null, 'attributes' => []]); |
||
| 33 | Form::component('bsCheckbox', 'components.form.checkbox', [ |
||
| 34 | 'name', |
||
| 35 | 'value' => 1, |
||
| 36 | 'checked' => null, |
||
| 37 | 'label' => null, |
||
| 38 | 'attributes' => [] |
||
| 39 | ]); |
||
| 40 | Form::component( |
||
| 41 | 'bsInputGroup', |
||
| 42 | 'components.form.input-group', |
||
| 43 | ['name', 'label' => null, 'value' => null, 'attributes' => []] |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |