@extends('layouts.app')

@section('content')

    @page(['col'=>12, 'page'=>__('agendamento.show_crud', ['page'=>$page2])])

    @alert(['msg' => session('msg'), 'status' => session('status')])
    @endalert

    @breadcrumb(['page'=>$page,'items'=>$breadcrumb ?? []])
    @endbreadcrumb

    <p>{{ __('agendamento.name') }}:{{ $register->name }}</p>
    <p>{{ __('agendamento.description') }}:{{ $register->description }}</p>
    @if ($delete)
        @form(['action'=>route($routeName.".destroy", $register->id),'method'=>"DELETE"])
        <button class="btn btn-danger btn-lg" style="float: left">@lang('agendamento.delete')</button>
    @endform
    @endif


    @endpage

@endsection
