@extends('yonetim.yonetim_master')

@section('main')
    <section class="section">
        <div class="section-body">
            <div class="row">
                <div class="col-12 col-md-9 col-lg-10">


                    <div class="card">



                        <form action="{{route('ssller.veriupdateson',$veriler->id)}}" method="post">
                            @csrf
                            <div class="card-body">


                                <div class="col-lg-12 mx-auto">

                                    <a href="{{route('ssller.all')}}" class="btn-sm btn btn-success float-right"><i class="fa fa-backward"></i> Geri Dön</a>
                                    <br>

                                    <div class="form-group">
                                        <label>Başlık</label>
                                        <input name="baslik" type="text" class="form-control" value="{{$veriler->baslik}}">
                                    </div>

                                    <div class="form-group">
                                        <label>Sıra Değer(küçük olan en önde)</label>
                                        <input name="sira" type="number" class="form-control" value="{{$veriler->sira}}">
                                    </div>

                                    <div class="form-group">
                                        <label>İçerik</label>
                                        <textarea name="icerik" class="form-control">{{$veriler->icerik}}</textarea>
                                    </div>


                                    <div class="card-footer text-right">
                                        <button type="submit" name="genelayarkaydet" class="btn btn-primary">Güncelle</button>

                                    </div>


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


                    </div>





                </div>

            </div>

        </div>
    </section>
@endsection
