<?php $__env->startSection('title', trans('admin.order.actions.edit', ['name' => $order->id])); ?>
<style>
    .text-width{

        /* width:100% !important; */
    }

    .dynamic-fields-container {
        display: flex;
        flex-wrap: wrap;
    }

    .dynamic-field-block {
        flex: 0 0 48%; /* Adjust width as needed */
        margin: 1%;
        /* border: 1px solid #ccc; */
        padding: 10px;
        box-sizing: border-box;
    }

</style>
<?php $__env->startSection('body'); ?>
    <div class="container-xl">
        <div class="card">

        <order-form
                :diamondorder="<?php echo e($diamondorder); ?>"
                :action="'<?php echo e($order->resource_url); ?>'"
                :data="<?php echo e($order->toJson()); ?>"
                v-cloak
                inline-template>
            
                <form class="form-horizontal form-edit" method="post" @submit.prevent="onSubmit" :action="action" novalidate>


                    <div class="card-header">
                        <i class="fa fa-pencil"></i> <?php echo e(trans('admin.order.actions.edit', ['name' => $order->id])); ?>

                    </div>

                    <div class="card-content">
                        <?php echo $__env->make('admin.order.components.form-elements', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                    
                 
                    
                    <div class="card-footer">
                        <button type="submit" class="btn btn-primary" :disabled="submiting">
                            <i class="fa" :class="submiting ? 'fa-spinner' : 'fa-download'"></i>
                            <?php echo e(trans('brackets/admin-ui::admin.btn.save')); ?>

                        </button>
                        
                    </div>
                    
                </form>

        </order-form>

        </div> 
    
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.paper-theme-layout.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\diamond\resources\views/admin/order/edit.blade.php ENDPATH**/ ?>