Notice: Undefined variable: control in /home/developmenthatin/public_html/hrs_backend/resources/views/admin/ebooks/create.blade.php on line 2
@extends('layouts.default_edit') @section('heading') {!! $heading !!} @endsection @section('leftsideform') @if ($control == 'edit') {{-- {{dd($courses)}} --}} {!! Form::model($ebooks, ['id' => 'my_form', 'method' => 'POST', 'route' => ['ebooks.update', $ebooks->id], 'files' => true]) !!} @else {!! Form::open(['id' => 'my_form', 'method' => 'POST', 'route' => ['ebooks.save'], 'files' => true]) !!} @endif @include('admin.ebooks.partial.form') {!! Form::close() !!}
{!! Form::open(['method' => 'get', 'route' => ['admin.ebooks']]) !!} {!! Form::submit('Cancel', ['class' => 'btn btn-default btn-block btn-lg btn-parsley']) !!} {!! Form::close() !!}
@endsection {!! Form::close() !!}