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

<?php $__env->startSection('heading'); ?>
    <?php echo $heading; ?> Group
<?php $__env->stopSection(); ?>
<?php $__env->startSection('completeform'); ?>
    <?php if($control == 'edit'): ?>
        <?php echo Form::model($group,['id'=>'my_form', 'method' => 'POST', 'route' =>
                  ['group.update', $group->id],'files'=>true]); ?>

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

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



<?php $__env->stopSection(); ?>





<?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/group/create.blade.php ENDPATH**/ ?>