@extends('layouts.layout-2') @section('content') {!! Form::open(['url' => route('cms_news_detail', [$id]), 'class' => 'form-horizontal']) !!}

News @if($id == "new") anlegen @else {{"(ID: ".$id.")"}} verwalten @endif
  {{ __('back') }}

{{ Form::text('title', $news->title, array('placeholder'=>__('Title'), 'class'=>'form-control', 'id'=>'news_title', 'required'=>true)) }}
{{-- @if($news->lvl != 0) @else
NON
@endif --}}
{{ Form::text('slug', $news->slug, array('placeholder'=>__('slug'), 'class'=>'form-control', 'id'=>'news_slug', 'required'=>true)) }}
{{ Form::text('date', $news->date, array('placeholder'=>__('Reisezeitraum'), 'class'=>'form-control datepicker-base', 'id'=>'news_date', 'required'=>true)) }}
{{ Form::textarea('content_new', HTMLHelper::filterHTML($news->content_new, ['src' => ['addHost']]) , ['class' => 'form-control summernote', 'id'=>'news_content_new']) }}
{{ Form::text('pagetitle', $news->pagetitle, array('placeholder'=>__('pagetitle'), 'class'=>'form-control', 'id'=>'news_pagetitle')) }}
{{ Form::text('description', $news->description, array('placeholder'=>__('description'), 'class'=>'form-control', 'id'=>'news_description')) }}
{{ Form::text('keywords', $news->keywords, array('placeholder'=>__('keywords'), 'class'=>'form-control', 'id'=>'news_keywords')) }}

Hauptbild


{{ Form::hidden('image[slug]', $news->getImage('slug')) }} {{ Form::hidden('image[thumb_url]', $news->getImage('thumb_url')) }} {{ Form::hidden('image[url]', $news->getImage('url')) }} {{ Form::text('image[title]', $news->getImage('title'), array('placeholder'=>'Bildtitel', 'class'=>'form-control mb-2')) }} {{ Form::text('image[alt]', $news->getImage('alt'), array('placeholder'=>'Bild ALT Tag', 'class'=>'form-control')) }}
  {{ __('back') }} {{ __('zurück ins v2 Programm') }}
{!! Form::close() !!} {{-- --}} @endsection @section('scripts') @endsection