@extends('admin::_layouts.content',['selectedMenu'=>$cMenuKey]) @section('title') {!! ($item??false) ? 'Düzenle' : 'Yeni' !!} @endsection @section('content') @include('admin::_partials.tinymce')
{!! html()->model($item ?? [])->form($method,$methodURL)->open(['files' => true]) !!} {{--{{dd($item)}}--}} {!! skey() !!}
Ürün Bilgileri
@if(config('nette-lang.enable'))
@foreach (\LaravelLocalization::getSupportedLocales() as $key => $lang)
{!! html()->label('Sayfa Başlığı ('.$lang['native'].')')->for('name_'.$key) !!} {!! html()->text('name_'.$key)->placeholder('Sayfa Başlığı ('.$lang['native'].')')->addClass('form-control'); !!}
{!! html()->label('Spot ('. $lang['native'] .')')->for('spot_'.$key) !!} {!! html()->textarea('spot_'.$key)->placeholder('Spot ('. $lang['native'] .')')->addClass('form-control')->data('editor','true') !!}
{!! html()->label('Youtube Link '.$lang['native'].')')->for('youtube_link_'.$key) !!} {!! html()->text('youtube_link_'.$key)->placeholder('Youtube Link ('.$lang['native'].')')->addClass('form-control'); !!}
{!! html()->label('İçerik ('. $lang['native'] .')')->for('content_'.$key) !!} {!! html()->textarea('content_'.$key)->placeholder('İçerik ('. $lang['native'] .')')->addClass('form-control')->data('editor','true') !!}
@endforeach
{!! html()->label('Renk Stili')->for('color_style') !!} {!! html()->text('color_style')->placeholder('Renk Stili')->addClass('form-control'); !!}
@else
{!! html()->label('Sayfa Başlığı')->for('name') !!} {!! html()->text('name')->placeholder('Sayfa Başlığı')->addClass('form-control'); !!}
{!! html()->label('İçerik')->for('content') !!} {!! html()->textarea('content')->placeholder('İçerik')->addClass('form-control')->data('editor', 'true') !!}
@endif
{{-- @include('Headline::headline._shared.create-headline')--}} @include('admin::_partials.meta') {!! uploader( 'img', 'product_gallery', 'Ürün Galerisi', 'product_gallery', 'images', null, true, (isset($item) ? $item->images : null), (isset($item) ? route($cOrderMediaRoute, ['id'=>$item->id]) : null), (isset($item) ? route($cUpdateMediaRoute,['id'=>$item->id]) : null), (isset($item) ? route($cDeleteMediaRoute,['id'=>$item->id]) : null) ) !!}
@include('admin::_partials.sidebar._sidebar')
{!! backbtn(url()->previous()) !!} {!! savebtn() !!}
{!! html()->form()->close() !!}
@endsection @section('foot') @endsection