@extends('admin.layouts.master') @section('page_title', __('admin.Edit :name' , ['name' => __('admin.News')])) @section('page_heading', __('admin.Edit :name' , ['name' => __('admin.News')])) @section('page_text', __('admin.Edit :name' , ['name' => __('admin.News')])) @section('page_breadcrumb_icon') @endsection @section('page_breadcrumb_item', 'News') @section('page_breadcrumb_item2', 'Edit News') @section('css') @endsection @section('content')
{!! Form::model($item, ['enctype'=>'multipart/form-data','method' => 'PATCH','route' => ['news.update', $item->id]]) !!}
{!! Form::select('type',[0 => 'Latest News', 1 => 'Dates For Your Diary'],$item->type, array('class' => 'form-select','data-control'=>"select2")) !!}
{!! Form::text('heading', $item->name, array('required'=>'required','placeholder' => 'Enter Heading','class' => 'form-control')) !!}
{!! Form::textarea('short_summary', $item->short_summary, array('required'=>'required','placeholder' => 'Short Summary','class' => 'form-control')) !!}
{!! Form::textarea('main_text', $item->main_text, array('required'=>'required','placeholder' => 'Main Text','class' => 'form-control')) !!}
{!! Form::file('image', null, array('required'=>'required','class' => 'form-control')) !!}
time_display == 1) checked @endif>
send_message == 1) checked @endif>

Do you want this post to be seen on the “Important Information” page?

important_information == 1) checked @endif>

Do you want this post to be added to the home page “What’s New” panel?

for_homepage == 1) checked @endif>
@lang('admin.Cancel')
{!! Form::close() !!}
@endsection @section('js') @endsection