Skip to content

Commit aceaf5b

Browse files
Update resources/views/admin/networkSwitches/edit.blade.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 31b2c7e commit aceaf5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/admin/networkSwitches/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<div class="row">
7676
<div class="form-group">
7777
<label for="physicalSwitches">{{ trans('cruds.networkSwitch.fields.physical_switches') }}</label>
78-
<select class="form-control select2 {{ $errors->has('physical_routers') ? 'is-invalid' : '' }}"
78+
<select class="form-control select2 {{ $errors->has('physicalSwitches') ? 'is-invalid' : '' }}"
7979
name="physicalSwitches[]" id="physicalSwitches" multiple>
8080
@foreach($physicalSwitches as $id => $name)
8181
<option value="{{ $id }}" {{ (in_array($id, old('physicalSwitches', [])) || $networkSwitch->physicalSwitches->contains($id)) ? 'selected' : '' }}>{{ $name }}</option>

0 commit comments

Comments
 (0)