@extends('admin::_layouts.content',['selectedMenu'=>'redirect']) @section('widget') {!! ($item??false) ? 'Düzenle' : 'Yeni' !!} @endsection @section('content') @include('admin::_partials.tinymce')
{!! html()->model($item ?? [])->form($method,$methodURL)->open() !!} {{--{{dd($item)}}--}} {!! skey() !!}
Yönlendirici Bilgileri
@if(config('nette-lang.enable'))
{!! html()->label('Yönlendirici Başlığı')->for('name') !!} {!! html()->text('name')->placeholder('Yönlendirici Başlığı')->addClass('form-control'); !!}
@foreach (\LaravelLocalization::getSupportedLocales() as $key => $lang)
{!! html()->label('İçerik ('. $lang['native'] .')')->for('content_'.$key) !!} {!! html()->textarea('content_'.$key)->placeholder('İçerik ('. $lang['native'] .')')->addClass('form-control')->data('editor','true') !!}
{!! html()->label('Yönlendirici Linki ('. $lang['native'] .')')->for('link_'.$key) !!} {!! html()->text('link_'.$key)->placeholder('Yönlendirici Linki ('. $lang['native'] .')')->addClass('form-control'); !!}
@endforeach
@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', 'false') !!}
{!! html()->label('URL')->for('url') !!} {!! html()->text('url')->placeholder('URL')->addClass('form-control') !!}
@endif
@include('admin::_partials.sidebar._sidebar')
{!! backbtn(url()->previous()) !!} {!! savebtn() !!}
{!! html()->form()->close() !!}
@endsection