<?php
if($control == 'edit'){
    $heading = 'Edit';
}
else{
    $heading = 'Add';
}
?>

<?php $__env->startSection('heading'); ?>
    <?php echo $heading; ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('completeform'); ?>

    <?php if($control == 'edit'): ?>
        <?php echo Form::model($role,['id'=>'my_form', 'method' => 'POST', 'route' =>
                  ['role.update', $role->id],'files'=>true]); ?>

    <?php else: ?>
        <?php echo Form::open(['id'=>'my_form','method' => 'POST', 'route' => ['role.save' ], 'files'=>true]); ?>

    <?php endif; ?>
    <?php echo $__env->make('admin.role.partial.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo Form::close(); ?>



<?php $__env->stopSection(); ?>
<?php echo Form::close(); ?>






<?php echo $__env->make('layouts.default_edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/demohatinco/public_html/medical2_backend/resources/views/admin/role/create.blade.php ENDPATH**/ ?>