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

Inhalte Reiseprogramme
  {{ __('back') }}

Reiseübersicht

{{ Form::text('title', $model->title, array('placeholder'=>__('Title'), 'class'=>'form-control', 'id'=>'title', 'required'=>true)) }}
{{ Form::text('title_short', $model->title_short, array('placeholder'=>__('Title Short'), 'class'=>'form-control', 'id'=>'title_short', 'required'=>true)) }}
{{ Form::text('pagetitle', $model->pagetitle, array('placeholder'=>__('Title Short'), 'class'=>'form-control', 'id'=>'pagetitle', 'required'=>true)) }}
{{ Form::text('slug', $model->slug, array('placeholder'=>__('URL der Seite'), 'class'=>'form-control', 'id'=>'slug')) }}

{{ Form::textarea('description', $model->description, array('class'=>'form-control autoExpand', 'rows'=>2)) }}
{{ Form::textarea('content_new', $model->getContentNew(), array('class'=>'form-control autoExpand', 'rows'=>2)) }}

  {{ __('back') }}
{!! Form::close() !!}

Unterseiten für Reiseübersicht {{ $model->title }}

@foreach($model->child_pages as $child_page) @if($child_page->travel_program_content) @else @endif @endforeach
  {{__('Title')}} {{__('Pagetitle')}} {{__('Programm')}} {{__('Pos')}} {{__('sichtbar')}} {{__('sichtbar in navi')}}
{{ $child_page->title }} {{ $child_page->pagetitle }}{{ $child_page->travel_program_content->title }}-{{ $child_page->order }} {!! get_active_badge($child_page->status) !!} {!! get_active_badge($child_page->show_in_navi) !!}
@endsection