Add support for external_id on servers, closes #975
This commit is contained in:
parent
f655188c58
commit
633bba6d6e
11 changed files with 73 additions and 15 deletions
|
@ -47,12 +47,17 @@
|
|||
<form action="{{ route('admin.servers.view.details', $server->id) }}" method="POST">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="name" class="control-label">Server Name</label>
|
||||
<label for="name" class="control-label">Server Name <span class="field-required"></span></label>
|
||||
<input type="text" name="name" value="{{ old('name', $server->name) }}" class="form-control" />
|
||||
<p class="text-muted small">Character limits: <code>a-zA-Z0-9_-</code> and <code>[Space]</code> (max 35 characters).</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pUserId" class="control-label">Server Owner</label>
|
||||
<label for="external_id" class="control-label">External Identifier</label>
|
||||
<input type="text" name="external_id" value="{{ old('external_id', $server->external_id) }}" class="form-control" />
|
||||
<p class="text-muted small">Leave empty to not assign an external identifier for this server. The external ID should be unique to this server and not be in use by any other servers.</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pUserId" class="control-label">Server Owner <span class="field-required"></span></label>
|
||||
<select name="owner_id" class="form-control" id="pUserId">
|
||||
<option value="{{ $server->owner_id }}" selected>{{ $server->user->email }}</option>
|
||||
</select>
|
||||
|
|
Reference in a new issue