8 lines
407 B
PHP
8 lines
407 B
PHP
<div class="mb-4">
|
|
<label for="form-input-{{ $requestName }}">{{ $title }}</label>
|
|
<input id="form-input-{{ $requestName }}" class="form-control @error($requestName) is-invalid @enderror" name="{{ $name }}" type="{{ $type }}" @if($type !== 'password') value="{{ $value }}" @endif {{ $attributes }}>
|
|
@error($name)
|
|
<span class="invalid-feedback">{{ $message }}</span>
|
|
@enderror
|
|
</div>
|