Fix rogue ) being displayed, and other updates from osb
This commit is contained in:
parent
dc8983aa91
commit
46df11f087
@ -12,7 +12,7 @@
|
|||||||
@if(! isset($addvalues) || ! $addvalues)
|
@if(! isset($addvalues) || ! $addvalues)
|
||||||
<option id="new"></option>
|
<option id="new"></option>
|
||||||
@endif
|
@endif
|
||||||
@empty($groupby))
|
@empty($groupby)
|
||||||
@foreach($options as $option)
|
@foreach($options as $option)
|
||||||
@empty(Arr::get($option,'value')) @continue @endempty
|
@empty(Arr::get($option,'value')) @continue @endempty
|
||||||
<option value="{{ Arr::get($option,'id') }}" @if(Arr::get($option,'id') == old($old,$value))selected @endif>{{ Arr::get($option,'value') }}</option>
|
<option value="{{ Arr::get($option,'id') }}" @if(Arr::get($option,'id') == old($old,$value))selected @endif>{{ Arr::get($option,'value') }}</option>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<span class="input-group-text"><i class="fa-fw {{ $icon }}"></i></span>
|
<span class="input-group-text"><i class="fa-fw {{ $icon }}"></i></span>
|
||||||
</div>
|
</div>
|
||||||
@endempty()
|
@endempty()
|
||||||
<input type="text" class="form-control @error($id) is-invalid @enderror" id="{{ $id }}" name="{{ $name ?: $id }}" value="{{ old($old ?? $name,$value) }}">
|
<input type="text" class="form-control {{ $classes ?? ''}}@error($id) is-invalid @enderror" id="{{ $id }}" name="{{ $name ?: $id }}" value="{{ old($old ?? $name,$value) }}">
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error($id)
|
@error($id)
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
|
Loading…
Reference in New Issue
Block a user