Update source into github
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<div class="row form-group align-items-center mb-0">
|
||||
<label for="network_id" class="col-md-3 text-right">Network</label>
|
||||
<div class="col-md-9 p-1 bg-customer">
|
||||
<select class="custom-select" id="network_id" data-ajax="{{ route('api.getIPAddress') }}" name="module_network_id">
|
||||
<option value="0">---------</option>
|
||||
@if($networks)
|
||||
@foreach($networks->all() as $item)
|
||||
<option
|
||||
@selected($model && (
|
||||
(isset($model?->ipaddress?->module_network_id) && $item->id == $model?->ipaddress?->module_network_id) ||
|
||||
isset($model?->module_network_id) && $item->id == $model?->module_network_id
|
||||
))
|
||||
value="{{$item->id}}">{{$item->name}}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user