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



                        <form action="{{route('referans.veriekleson')}}" method="post" enctype="multipart/form-data">
                            @csrf
                            <div class="card-body">
                                <div class="col-lg-12 mx-auto">

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

                                    <div class="form-group">
                                        <label>Resim Yükle</label>
                                        <input name="resimyol" required class="form-control" type="file">


                                    </div>

                                    <div class="form-group">
                                        <label>Resimyol Alt Tag</label>
                                        <input name="resimyol_alt" type="text" class="form-control" value="">
                                    </div>



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

                                    <div class="form-group">
                                        <label>Linkyol</label>
                                        <input name="linkyol" type="text" class="form-control" value="">
                                    </div>

                                    <div class="form-group">
                                        <label>Önaçıklama</label>
                                        <textarea maxlength="255" name="onaciklama" type="text" class="form-control"></textarea>
                                    </div>





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



                                    </div>


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


                    </div>





                </div>

            </div>

        </div>
    </section>
@endsection
