Model updates for Database Management in ACP

This commit is contained in:
Dane Everitt
2017-02-03 15:19:14 -05:00
parent 9c2d34d6e6
commit 96d3aa767f
7 changed files with 137 additions and 43 deletions

View File

@@ -47,7 +47,7 @@
<select name="linked_node" class="form-control">
<option>None</option>
@foreach($nodes as $node)
<option value="{{ $node->id }}" @if((int) old('linked_node') === $node->id) selected="selected" @endif>{{ $node->name }} ({{ $node->a_location }})</option>
<option value="{{ $node->id }}" @if((int) old('linked_node') === $node->id) selected="selected" @endif>{{ $node->name }} ({{ $node->location->short }})</option>
@endforeach
</select>
<p class="text-muted"><small>A linked node implies that this Database Server is running on that node and it will be auto-selected when adding a database to servers on that node.</small></p>