

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

    <div class="page-content">
        <div class="row">
            <div class="col-12">
                <div class="page-title-box d-flex align-items-center justify-content-between">
                    <h4 class="page-title mb-0 font-size-18">عناصر فرم</h4>

                    <div class="page-title-right">
                        <ol class="breadcrumb m-0">
                            <li class="breadcrumb-item"><a href="">فرم ها</a></li>
                            <li class="breadcrumb-item active">عناصر فرم</li>
                        </ol>
                    </div>

                </div>
            </div>
        </div>

        <div class="row">

            <?php $__currentLoopData = $project_infos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $project_info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-lg-4">
                    <div class="card bg-primary text-white-50 class<?php echo e($project_infos->status); ?>">
                        <div class="card-body">
                            <h5 class="mt-0 mb-4 text-white"><i class="mdi mdi-bullseye-arrow mr-3"></i><?php echo e($project_info->title); ?></h5>
                            <p class="card-text"><?php echo $project_info->body; ?></p>

                            <form action="" method="post" id="bottomForm"><?php echo csrf_field(); ?>
                                <button type="button" class="btn btn-danger w-lg waves-effect waves-light" onmousedown="document.getElementById('bottomForm').action = 'https://admin.borjeweb.com/project_works/<?php echo e($project_info->id); ?>'" onmouseup="document.getElementById('bottomForm').submit()">
                                    کار ها </button>
                                <?php if($Admin->premises == 0): ?>
                                    <button type="button" class="btn btn-danger w-lg waves-effect waves-light" onmousedown="document.getElementById('bottomForm').action = 'https://admin.borjeweb.com/project_works/<?php echo e($project_info->id); ?>'" onmouseup="document.getElementById('bottomForm').submit()">
                                        اضافه کردن کار ها</button>
                                    <button type="button" class="btn btn-success w-lg waves-effect waves-light" onmousedown="document.getElementById('bottomForm').action = 'https://admin.borjeweb.com/editProject/<?php echo e($project_info->id); ?>'" onmouseup="document.getElementById('bottomForm').submit()">
                                        ویرایش</button>
                                <?php endif; ?>

                            </form>
                        </div>

                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>




        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/adminborjeweb/adminborjeweb/resources/views/content/project/project_infos/infoProject.blade.php ENDPATH**/ ?>