Notice
: Undefined variable: control in
/home/demohatinco/public_html/medical2_backend/resources/views/admin/role/create.blade.php
on line
2
@extends('layouts.default_edit') @section('heading') {!! $heading !!} @endsection @section('completeform') @if($control == 'edit') {!! Form::model($role,['id'=>'my_form', 'method' => 'POST', 'route' => ['role.update', $role->id],'files'=>true]) !!} @else {!! Form::open(['id'=>'my_form','method' => 'POST', 'route' => ['role.save' ], 'files'=>true]) !!} @endif @include('admin.role.partial.form') {!!Form::close()!!} {{--
{!! Form::open(['method' => 'get', 'route' => ['role.index']]) !!} {!! Form::close() !!}
--}} @endsection {!!Form::close()!!}