@extends('layouts.app') @section('content')

{{ $pageTitle }}

{!! Form::open(array('url'=>'news?return='.$return, 'class'=>'form-horizontal form-vertical validated sximo-form','files' => true ,'id'=> 'FormTable' )) !!}
{!! Form::hidden('id', $row['id']) !!} @if($row['id'] > 0) @else {!! Form::hidden('created_at', date('Y-m-d H:i:s')) !!} @endif
{!! Form::textarea('news_comments', $row['news_comments'], array('class'=>'form-control editor', 'placeholder'=>'','size'=>'30x5','required'=>'required' ,'id'=>'news_comments')) !!}
{!! Form::select('news_type',[''=>'Сонгоно уу...'] + $breacks,$row['news_type'], ['class' => 'form-control form-control-sm','autocomplete'=>"off" ,'id' => 'news_type'] ) !!}
{!! Form::select('is_active',[''=>'Сонгоно уу...']+$states,$row['is_active'], ['class' => 'form-control form-control-sm','autocomplete'=>"off", 'id' => 'is_active'] ) !!}
{!! Form::close() !!}
@stop