Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | public function handle($name) |
||
9 | { |
||
10 | $mode = config('easy_panel.lazy_mode') ? 'wire:model.lazy' : 'wire:model'; |
||
11 | $UName = ucfirst($name); |
||
12 | return " |
||
13 | <!-- $UName Input --> |
||
14 | <div class='form-group'> |
||
15 | <div class='form-check mt-4 mb-3'> |
||
16 | <input $mode='$name' class='form-check-input' type='checkbox' id='input$name'> |
||
17 | <label class='form-check-label' for='input$name'>{{ __('$UName') }}</label> |
||
18 | </div> |
||
19 | @error('$name') <div class='invalid-feedback'>{{ " . '$message' . " }}</div> @enderror |
||
20 | </div> |
||
24 |