%PDF- %PDF-
Direktori : /home/silvzytp/dsr_code/resources/views/components/form/ |
Current File : //home/silvzytp/dsr_code/resources/views/components/form/inputicon.blade.php |
<div class="form-group"> @if(!empty($labelName)) <label for="{{ $name }}" class="{{ $required ?? '' }}">{{ $labelName }}</label> @endif <div class="input-group {{ $groupClass ?? '' }}"> <input class="form-control {{ $class ?? '' }}" type="{{ $type ?? text }}" placeholder="{{ $placeholder ?? '' }}" name="{{ $name }}" id="{{ $name }}" value="{{ $value ?? '' }}"> <div class="input-group-addon {{ $addonClass ?? '' }}"><i class="{{ $icon ?? '' }}"></i></div> </div> @if (!empty($error)) @error($error) <span class="d-block text-danger error">{{ $message }}</span> @enderror @endif </div>