

<?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="javascript:%20void(0);">فرم ها</a></li>
                            <li class="breadcrumb-item active">عناصر فرم</li>
                        </ol>
                    </div>

                </div>
            </div>
        </div>
    <div class="row">
        <?php $__currentLoopData = $projects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $project): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="col-lg-4">
            <div class="card bg-primary text-white-50">
                <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->title); ?> </h5>
                    <p class="card-text"><?php echo $project->body; ?> </p>
                    <form action="" method="post" id="bottomForm"><?php echo csrf_field(); ?>
                        <button type="button" class="btn btn-success w-lg waves-effect waves-light" onmousedown="document.getElementById('bottomForm').action = 'https://admin.borjeweb.com/project_infos/<?php echo e($project->id); ?>'" onmouseup="document.getElementById('bottomForm').submit()">
                            اطلاعات پروژه</button>
                        <?php if($Admin->premises == 0): ?>
                            <button type="button" class="btn btn-success w-lg waves-effect waves-light" onmousedown="document.getElementById('bottomForm').action = 'https://admin.borjeweb.com/addproject_infos/<?php echo e($project->id); ?>'" onmouseup="document.getElementById('bottomForm').submit()">
                                افزودن اطلاعات</button>
                            <button type="button" class="btn btn-light w-lg waves-effect waves-light" onmousedown="document.getElementById('bottomForm').action = 'https://admin.borjeweb.com/editProject/<?php echo e($project->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/projects/project.blade.php ENDPATH**/ ?>