@extends('layouts.app')

@section('content')
    <div class="container">
        <div class="row">


            <div class="col-md-9">
                <div class="card">
                    <div class="card-header">Acompanhamento {{ $acompanhamento->id }}</div>
                    <div class="card-body">

                        <a href="{{ url('/acompanhamento') }}" title="Back"><button class="btn btn-warning  btn-hero btn-sm"><i class="fa fa-arrow-left" aria-hidden="true"></i> Back</button></a>
                        <a href="{{ url('/acompanhamento/' . $acompanhamento->id . '/edit') }}" title="Edit Acompanhamento"><button class="btn btn-primary btn-sm"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> Edit</button></a>

                        <form method="POST" action="{{ url('acompanhamento' . '/' . $acompanhamento->id) }}" accept-charset="UTF-8" style="display:inline">
                            {{ method_field('DELETE') }}
                            {{ csrf_field() }}
                            <button type="submit" class="btn btn-danger btn-sm" title="Delete Acompanhamento" onclick="return confirm(&quot;Confirm delete?&quot;)"><i class="fa fa-trash-o" aria-hidden="true"></i> Delete</button>
                        </form>
                        <br/>
                        <br/>

                        <div class="table-responsive">
                            <table class="table">
                                <tbody>
                                    <tr>
                                        <th>ID</th><td>{{ $acompanhamento->id }}</td>
                                    </tr>
                                    <tr><th> Descrição </th><td> {{ $acompanhamento->descricao }} </td></tr><tr><th> IdProtocolo </th><td> {{ $acompanhamento->idProtocolo }} </td></tr><tr><th> IdUsuario </th><td> {{ $acompanhamento->idUsuario }} </td></tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
