@section('content')
    <div class="card card-outline card-success">
        <div class="card-header">
            <h3 class="card-title">Agendamentos <a href="{{ route('agendamentos.index') }}">
                    <<< /a>
            </h3>
        </div>
        {{-- {{ $agendamento->data }} --}}
        <!-- /.card-header -->
        <div class="card-body">
            @include('admin.includes.alerts')
            @csrf
            <div class="form-group">
                <input type="text" name="nome" class="form-control" placeholder="Nome:"
                    value="{{ $agendamento->nome ?? old('nome') }}">
            </div>
            <div class="form-group">
                <input type="text" name="cpf" class="form-control" placeholder="Cpf:"
                    value="{{ $agendamento->cpf ?? old('cpf') }}">
            </div>
            <div class="form-group">
                <input type="text" name="telefone" class="form-control" placeholder="Telefone:"
                    value="{{ $agendamento->telefone ?? old('telefone') }}">
            </div>
            <div class="form-group">
                <input type="text" name="servico" class="form-control" placeholder="Serviço:"
                    value="{{ $agendamento->servico ?? old('servico') }}">
            </div>
            <div class="form-group">
                <input type="text" name="data" class="form-control" placeholder="Data:"
                    value="{{ $agendamento->data ?? old('data') }}">
            </div>
            <button class="btn btn-success" type="submit">Enviar</button>
        </div>
        <!-- /.card-body -->
        <div class="card-footer">
            The footer of the card
        </div>
        <!-- /.card-footer -->
    </div>
    <!-- /.card -->
