<?php $__env->startSection('content'); ?>
    <div class="container">
        <h1>Calculator</h1>
        <form action="<?php echo e(route('calculatePrice')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <div class="mb-3">
                <label for="stone_type" class="form-label">Tipul de piatră:</label>
                <select class="form-select" id="stone_type" name="stone_type">
                    <?php $__currentLoopData = $stoneTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $stoneType): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($stoneType->id); ?>"><?php echo e($stoneType->name); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
            </div>
            <div class="mb-3">
                <label for="diameter" class="form-label">Diameter:</label>
                <input type="text" class="form-control" id="diameter" name="diameter">
            </div>
            <div class="mb-3">
                <label for="length" class="form-label">Length:</label>
                <input type="text" class="form-control" id="length" name="length">
            </div>
            <div class="mb-3">
                <label for="width" class="form-label">Width:</label>
                <input type="text" class="form-control" id="width" name="width">
            </div>

            <button type="submit" class="btn btn-primary">Calculează Prețul</button>
        </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Volumes/Personal/TeachMe/stone/stone/resources/views/calculator.blade.php ENDPATH**/ ?>