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

{{$section->title}}

{!! Form::model($teaser, [ 'id' => 'uploadForm', 'class' => 'form-validate', 'files' => true, 'enctype' => 'multipart/form-data', 'autocomplete' => 'off']) !!} @method($section->method)
{!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => 'Name', 'Title' => 'required', 'id' => 'name']) !!}
@if ($errors->has('title'))

{{ $errors->first('title') }}

@endif
{!! Form::file('thumbnail', ['class' => 'custom-file-input', 'id' => 'customFile']) !!} {!! Form::hidden('id', null, ['class' => 'form-control', 'placeholder' => 'Teaser', 'required' => 'required', 'id' => 'name']) !!}
@if ($errors->has('thumbnail'))

{{ $errors->first('thumbnail') }}

@endif
{!! Form::file('teaser_video',['class' => 'custom-file-input', 'id' => 'customFile']) !!}
@if ($errors->has('teaser_video'))

{{ $errors->first('teaser_video') }}

@endif
{!! Form::select('status',['1' => 'Active', '0' => 'Inactive'],null,['class' => 'form-control form-select select2']); !!}
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-outline-primary']) !!}
{!! Form::close() !!}
0%
@section('scripts') @endsection @endsection