Add pilot ID change fields to the admin screen
This commit is contained in:
@@ -1,17 +1,24 @@
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-4">
|
||||
{{ Form::hidden('id') }}
|
||||
<div class="form-group col-sm-3">
|
||||
{{ Form::label('pilot_id', 'Pilot ID:') }}
|
||||
{{ Form::number('pilot_id', null, ['class' => 'form-control']) }}
|
||||
<p class="text-danger">{{ $errors->first('pilot_id') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-3">
|
||||
{{ Form::label('name', 'Name:') }}
|
||||
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
||||
<p class="text-danger">{{ $errors->first('name') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-4">
|
||||
<div class="form-group col-sm-3">
|
||||
{{ Form::label('email', 'Email:') }}
|
||||
{{ Form::text('email', null, ['class' => 'form-control']) }}
|
||||
<p class="text-danger">{{ $errors->first('email') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-4">
|
||||
<div class="form-group col-sm-3">
|
||||
{{ Form::label('password', 'Password:') }}
|
||||
{{ Form::password('password', ['class' => 'form-control']) }}
|
||||
<p class="text-danger">{{ $errors->first('password') }}</p>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<table class="table table-hover table-responsive" id="users-table">
|
||||
<thead>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Registered</th>
|
||||
@@ -9,6 +10,7 @@
|
||||
<tbody>
|
||||
@foreach($users as $user)
|
||||
<tr>
|
||||
<td>{{ $user->ident }}</td>
|
||||
<td>
|
||||
@if(filled($user->country))
|
||||
<span class="flag-icon flag-icon-{{ $user->country }}"
|
||||
|
||||
Reference in New Issue
Block a user