Download resources/views/default/components/form/group.blade.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 961 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/resources/views/default/components/form/group.blade.php
- Command line
-
hf download hf://pnacorp/magicai/resources/views/default/components/form/group.blade.php
-
curl -L -o group.blade.php https://huggingface.co/pnacorp/magicai/resolve/main/resources/views/default/components/form/group.blade.php
961 Bytes
| <div | |
| @if ($stepper) x-data='{ | |
| value: {{ !empty($value) ? $value : 0 }}, | |
| min: {{ $attributes->has('min') ? $attributes->get('min') : 0 }}, | |
| max: {{ $attributes->has('max') ? $attributes->get('max') : 999999 }}, | |
| step: {{ $attributes->has('step') ? $attributes->get('step') : 1 }} | |
| }' @else | |
| x-data | |
| @endif | |
| {{ $attributes->twMerge('form-group lqd-input-container relative')}} | |
| x-id="['text-input', 'input-description', 'input-error']"> | |
| @if($label && !$noGroupLabel) | |
| <x-form.label /> | |
| @endif | |
| {{ $slot }} | |
| @if ($error || $help) | |
| <div class="mt-1.5 grid gap-y-0.5"> | |
| @if ($error) | |
| <p class="text-xs text-red-500" x-bind:id="$id('input-error')">{{ $error }}</p> | |
| @endif | |
| @if ($help) | |
| <p class="text-xs text-gray-500 dark:text-slate-400" x-bind:id="$id('input-description')">{{ $help }}</p> | |
| @endif | |
| </div> | |
| @endif | |
| </div> | |