@extends('backend.template') @section('content')

Edit News & Article - ( {{ $data->title }})

@csrf
{{ createText('title', 'title', 'Title', '', $data->title) }}
{{ createTextarea('text', 'text ckeditor-classic', 'Text', $data->text) }}

SEO

{{ createText('seo_title', 'seo_title', 'Seo Title', '', $data->seo_title) }}
{{ createPlainTextArea('seo_descriptions', 'seo_description', 'Seo Descriptions', '', $data->seo_descriptions) }}
{{ createPlainTextArea('seo_keywords', 'seo_keywords', 'Seo Keywords', '', $data->seo_keywords) }}
{{ createPlainTextArea('og_tags', 'og_tags', 'Og Tags', '', $data->og_tags) }}

Attributes

{{ createCustomSelect('tbl_news', 'title', 'news_id', $data->parent_news, 'Parent News', 'parent_news', 'form-control select2', 'status<>-1') }}

Images

{{ createImageInput('image', 'Image', '', $data->image) }}
{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
{{ createImageInput('cover', 'Cover', '', $data->cover) }}

Published

@endsection