@extends('admin::_layouts.content',['selectedMenu'=>'article']) @section('title') {!! ($item??false) ? 'Edit' : 'New' !!} @endsection @section('content') @include('admin::_partials.tinymce')
{!! html()->model($item ?? [])->form($method,$methodURL)->open() !!} {!! skey() !!}
İçerik Bilgileri
@if(config('nette-lang.enable'))
@foreach (\LaravelLocalization::getSupportedLocales() as $key => $lang)
{!! html()->label('Blog Başlığı ('.$lang['native'].')')->for('name') !!} {!! html()->text('name_'.$key)->placeholder('Blog Başlığı ('.$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
@else
{!! html()->label('İçerik Başlığı')->for('name') !!} {!! html()->text('name')->placeholder('İçerik Başlığı')->addClass('form-control'); !!}
{!! html()->label('İçerik')->for('content') !!} {!! html()->textarea('content')->placeholder('İçerik')->addClass('form-control')->data('editor','true') !!}
@endif
@include('admin::_partials.meta') {!! uploader( 'img', 'article_galleries', 'Haber Galerisi', 'article_galleries', '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