@extends('_version_02.commons.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal', 'method' => 'post']) !!} @include('_version_02.commons.layouts.partials._alert')
{!! Form::label('status', App\Language::trans('Status'), ['class'=>'control-label col-md-12']) !!}
status) == true ? ($model->status == true ? 'checked' : '') : 'checked'}}>
status) == true ? ($model->status == false ? 'checked' : '') : ''}}>
{!!$errors->first('status', '')!!}

@php $language_listing = $page_variables['language_listing']; $tab_status = ' active'; @endphp
@php $tab_status = ' active'; @endphp
@php if(isset($model->id)){ $description = json_decode($model->description); $content = json_decode($model->content); } @endphp @foreach($language_listing as $language)
{!! Form::label('description['.$language.']', App\Language::trans(ucfirst($language).' Description'), ['class'=>'control-label col-md-12']) !!}
{!! Form::text('description['.$language.']', (isset($model->id) ? $description->$language : null), ['id'=>'description['.$language.']', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('description['.$language.']', '')!!}
{!! Form::label('content['.$language.']', App\Language::trans(ucfirst($language).' Content'), ['class'=>'control-label col-md-12']) !!}
{!! Form::textarea('content['.$language.']', (isset($model->id) ? $content->$language : null), ['id'=>'content['.$language.']', 'rows'=>'10','class'=>'form-control tinymce']) !!} {!!$errors->first('content['.$language.']', '')!!}
@php $tab_status =''; @endphp @endforeach
@include('_version_02.commons.layouts.partials._form_floaring_footer_standard')
{!! Form::close() !!} @endsection @section('script') @endsection