@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() !!} {!! skey() !!}
Referans Bilgileri
@if(config('nette-lang.enable'))
@foreach (\LaravelLocalization::getSupportedLocales() as $key => $lang)
{!! html()->label('İçerik Başlığı ('.$lang['native'].')')->for('name') !!} {!! html()->text('name_'.$key)->placeholder('İçerik Başlığı ('.$lang['native'].')')->addClass('form-control'); !!}
@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.sidebar.elements.files') @if(count($cSidebarModules ?? [])) @foreach($cSidebarModules as $sidebarModule) @include($sidebarModule) @endforeach @endif @if($cOrderable)
Sıralama
{!! html()->label('Sıra')->for($cOrderableColumn ?? 'order_number') !!} {!! html()->text($cOrderableColumn ?? 'order_number')->placeholder('Sıra')->addClass('form-control')->value($item->$cOrderableColumn ?? 0); !!}
@endif
{!! backbtn(url()->previous()) !!} {!! savebtn() !!}
{!! html()->form()->close() !!}
@endsection