listOwner.blade.php 996 Bytes
Newer Older
1 2 3
@extends('adminlte::layouts.app')

@section('htmlheader_title')
Palti Sinaga committed
4
{{ trans('adminlte_lang::message.home') }}
5 6 7
@endsection

@section('main-content')
Palti Sinaga committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<div class="box box-warning">
  <div class="box-header with-border">
    <h3 class="box-title"> LIST PEMILIK HOMESTAY </h3>
    @if (count($errors) > 0)
    <div class="alert alert-danger">
      <strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
      <ul>
        @foreach ($errors->all() as $error)
        <li>{{ $error }}</li>
        @endforeach
      </ul>
    </div>
    @endif
  </div>
  <div class="box-body">

        <table class="table table-striped">
          <tr>
            <th>Name</th>
            <th>Username</th>
            <th>Email</th>
          </tr>
          @foreach($data as $a)
          <tr>
            <td>{{$a->name}}</td>
            <td>{{$a->username}}</td>
            <td>{{$a->email}}</td>
          </tr>

          @endforeach
        </table>
  </div>
</div>
41

Palti Sinaga committed
42
@endsection