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

Add Campaign

@csrf
{{ createText('title', 'title', 'Title') }}
{{ createText('sub_title', 'sub_title', 'Sub Title') }}
{{ createTextarea('text', 'text ckeditor-classic', 'Description') }}
{{ createText('link', 'link', 'Link') }}

Attributes

{{ createCustomSelect('tbl_campaigns', 'title', 'campaign_id', '', 'Campaigns Id', 'campaigns_id', 'form-control select2', 'status<>-1') }}
{{ createCustomSelect('tbl_campaignarticles', 'title', 'campaignarticle_id', '', 'Parent Article', 'parent_article', 'form-control select2', 'status<>-1') }}

Images

{{ createImageInput('cover_photo', 'Cover Photo') }}
{{ createImageInput('thumb', 'Thumb') }}
@endsection