Fix zone update with zt_id, added some ZeroTier network settings

This commit is contained in:
Deon George
2021-06-24 22:28:06 +10:00
parent ebabe6e698
commit 25f853cea4
4 changed files with 56 additions and 6 deletions

View File

@@ -311,7 +311,7 @@
<span class="input-group-text"><i class="bi bi-hash"></i></span>
<select class="form-select @error('zone_id') is-invalid @enderror" id="zone_id" name="zone_id" required>
<option></option>
@foreach(\App\Models\Zone::active()->with(['domain'])->get() as $zo)
@foreach(\App\Models\Zone::active()->domainZoneOrder()->with(['domain'])->get() as $zo)
<option value="{{ $zo->id }}">{{ $zo->zone_id }} <small>({{ $zo->domain->name }})</small></option>
@endforeach
</select>