Make $setup available to all blades
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@php
|
||||
use App\Classes\FTN\Packet;
|
||||
use App\Models\{Mailer,Setup,User};
|
||||
use App\Models\{Mailer,User};
|
||||
@endphp
|
||||
|
||||
<!-- $o=System::class -->
|
||||
@@ -195,7 +195,7 @@ use App\Models\{Mailer,Setup,User};
|
||||
<label for="pkt_msgs" class="form-label w-100">Packet Msgs</label>
|
||||
<div class="input-group has-validation">
|
||||
<span class="input-group-text"><i class="bi bi-hash"></i></span>
|
||||
<input type="text" class="form-control text-end @error('pkt_msgs') is-invalid @enderror" id="pkt_msgs" placeholder="{{ Setup::MAX_MSGS_PKT }}" name="pkt_msgs" value="{{ old('pkt_msgs',$o->getRawOriginal('pkt_msgs')) }}" @cannot($action,$o)readonly @endcannot>
|
||||
<input type="text" class="form-control text-end @error('pkt_msgs') is-invalid @enderror" id="pkt_msgs" placeholder="{{ $setup->msgs_pkt }}" name="pkt_msgs" value="{{ old('pkt_msgs',$o->getRawOriginal('pkt_msgs')) }}" @cannot($action,$o)readonly @endcannot>
|
||||
<span class="invalid-feedback" role="alert">
|
||||
@error('pkt_msgs')
|
||||
{{ $message }}
|
||||
|
Reference in New Issue
Block a user