ldc-supportweb/resources/views/bo/modules/change-model-order-select.blade.php

23 lines
1.1 KiB
PHP

<td class="text-center align-middle">
<div class="d-flex justify-content-center align-items-center">
<b class="mx-3">{{ $value ?? '' }}</b>
<div class="dropdown">
<button class="btn btn-secondary" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fa-solid fa-chevron-down"></i>
</button>
<div class="dropdown-menu">
<form class="px-4 py-3" action="{{ route('bo.ticket.change-priority', ['ticket' => $model]) }}" method="POST">
@csrf
@method('PATCH')
<div class="mb-3">
<label for="priority-{{ $model->id }}" class="form-label">{{ __('Nouvelle priorité') }}</label>
<input type="number" class="form-input" id="priority-{{ $model->id }}" placeholder="1" name="priority" min="1">
</div>
<button type="submit" class="btn btn-primary">{{ _('Sauvegarder') }}</button>
</form>
</div>
</div>
</div>
</td>