1234567891011121314151617181920212223242526272829303132333435363738394041 |
- @extends ('layouts/template')
- @section('content')
- <div class="p-3 mcp-theme-1">
- <div class="card">
- @if(session('message'))
- <div class="alert alert-info">{{session('message')}}</div>
- @endif
- <table class="table table-sm table-striped">
- <thead>
- <tr>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Cell Number</th>
- <th>Email</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- @foreach($pros as $pro)
- <tr>
- <td>{{$pro->name_first}}</td>
- <td>{{$pro->name_last}}</td>
- <td>{{$pro->cell_number}}</td>
- <td>{{$pro->email}}</td>
- <td>
- <form action="{{route('process-log-in-as')}}" method="POST">
- @csrf
- <input type="hidden" name="proUid" value="{{$pro->uid}}">
- <button class="btn btn-primary">Login</button>
- </form>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- @endsection
|