Skip to content
Snippets Groups Projects
Commit 3fe40d2c authored by Thibault Debatty's avatar Thibault Debatty
Browse files

server update : preserve rack

parent 11eacf8e
No related branches found
No related tags found
No related merge requests found
Pipeline #14269 passed
......@@ -5,6 +5,9 @@
class="form-control{{ $errors->has('rack_id') ? ' is-invalid' : '' }}"
name="rack_id">
@if ($server->rack)
<option value="{{ $server->rack->id }}">{{ $server->rack->name }}</option>
@endif
<option value="0">--</option>
@foreach ($organization->racks as $rack)
<option value="{{ $rack->id }}">{{ $rack->name }}</option>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment