@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-9">


                    <div class="card">
                        <div class="card-header">
                            <h4>{{$scriptadi->baslik}} - SSS Ekle</h4>
                        </div>



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

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

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

                                    <div class="form-group">
                                        <label>SSS Başlık</label>
                                        <input name="baslik" required type="text" class="form-control" value="">
                                    </div>

                                    <div class="form-group">
                                        <label>İçerik</label>
                                        <textarea style="min-height: 100px" name="icerik" required type="text" class="form-control"></textarea>
                                    </div>



                                    <div class="card-footer text-right">
                                        <button type="submit" name="genelayarkaydet" class="btn btn-primary">SSS Ekle</button>
                                    </div>


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


                    </div>





                </div>

            </div>

        </div>
    </section>
@endsection
