@extends('panel.index')
@section('icerik')

    <div class="pagetitle">
        <h1>Müşteri Düzenle - {{ $musteri->name }}</h1>
        <nav>
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="/">Site</a></li>
                <li class="breadcrumb-item active">Müşteri Düzenle</li>
            </ol>
        </nav>
    </div><!-- End Page Title -->


    <section class="section dashboard">
        <div class="row">
            <div class="col-lg-6">
                <div class="card">
                    <div class="card-header"><i class="bx bx-plus-circle"></i> Müşteri Düzenle</div>
                    <div class="card-body">

                        <form action="musteriduzenle" class="arala" method="post" enctype="multipart/form-data">
                            @csrf
İsim<input type="text" name="name" class="form-control" value="{{ $musteri->name }}">
                            Email <input type="text" name="email" class="form-control" value="{{ $musteri->email }}">
                            Telefon <input type="text" name="telefon" class="form-control" value="{{ $musteri->telefon }}">
                            <input type="hidden" name="id" value="{{ $musteri->id }}">



                            <button class="btn btn-success"><i class="bx bxs-save"></i> Güncelle</button>

                        </form>

                    </div>
                </div>
            </div>


        </div>
    </section>

    <style>
        .arala * {
            margin-bottom: 5px;
            margin-top: 5px;
            clear: both
        }
        .arala span { font-size: 13px; color: darkgray}
    </style>

@endsection
@section('title','Müşteri Düzenle '. $musteri->name)
