File: /home/armgroup/libs/storage/framework/views/f26415d07809118933c2e82f9e21caffb237d8ec.php
<div>
<form id="form" role="form" wire:submit.prevent="update">
<div class="card-body">
<table class="table table-hover mt-4">
<thead>
<tr>
<th>مقدار</th>
<th>عملیات</th>
</tr>
</thead>
<tbody>
<?php if(count($values)): ?>
<?php $__currentLoopData = $values; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<input type="text" class="form-control <?php $__errorArgs = ["values.$index.value"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" wire:model.defer="values.<?php echo e($index); ?>.value" required>
<?php $__errorArgs = ["values.$index.value"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger" role="alert">
<strong><?php echo e($message); ?></strong>
</span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</td>
<td>
<button type="button" class="btn btn-danger btn-sm" wire:click="removeItem(<?php echo e($index); ?>)">
<span class="fa fa-trash"></span> حذف
</button>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</tbody>
<tfoot>
<tr>
<td colspan="1"></td>
<td>
<button type="button" id="add-item" class="btn btn-success btn-sm" wire:click="addItem"><span class="fa fa-plus"></span> افزودن</button>
</td>
</tr>
</tfoot>
</table>
</div>
<div class="card-footer">
<button type="submit" class="btn btn-primary">ذخیره</button>
<a href="<?php echo e(route('admin.attribute-groups.show', $attributeGroupId)); ?>" class="btn btn-danger float-left">لغو</a>
</div>
</form>
</div>
<?php /**PATH /home/armgroup/libs/resources/views/livewire/admin/attribute/edit.blade.php ENDPATH**/ ?>