@extends('admin::_layouts.content') @section('title') {!! ($item??false) ? 'Düzenle' : 'Yeni' !!} @endsection @section('content') @include('admin::_partials.tinymce')
{!! html()->model($item ?? [])->form($method,$methodURL)->open() !!} {{--{{dd($item)}}--}} {!! skey() !!}
Katalog Bilgileri
@if(config('nette-lang.enable'))
@foreach (\LaravelLocalization::getSupportedLocales() as $key => $lang)
{!! html()->label('Başlık ('.$lang['native'].')')->for('name_'.$key) !!} {!! html()->text('name_'.$key)->placeholder('Başlık ('.$lang['native'].')')->addClass('form-control'); !!}
{{--
--}} {{-- {!! html()->label('Katalog URL ('.$lang['native'].')')->for('content_'.$key) !!}--}} {{-- {!! html()->text('content_'.$key)->placeholder('Katalog URL ('.$lang['native'].')')->addClass('form-control'); !!}--}} {{--
--}}
@endforeach
{!! html()->label('Yıl')->for('year') !!} {!! html()->text('year')->placeholder('Yıl')->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')--}}
@include('admin::_partials.sidebar._sidebar')
{!! backbtn(url()->previous()) !!} {!! savebtn() !!}
{!! html()->form()->close() !!}
@endsection @section('foot') {{----}} {{----}} @endsection