<style type="text/css">
    .input {
        height: 33px !important;
    }
</style>
<form class="row g-3 auto-width edit edit_document" action="{{ route('documents-management.update', $document->id)}}" method="post" enctype='multipart/form-data'>
    @csrf
    @method('patch')
    <div class="col-md-12">
        <label for="attachment" class="form-label">Document <span class="text-danger"><b>*</b></span></label>
        <input type="file" class="form-control input" id="attachment" name="attachment" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_attachment" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="priority" class="form-label">Priority <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control input" id="priority" name="priority" aria-describedby="inputGroupPrepend" required value="{!! $document->priority !!}">
        <span class="text-danger error_priority" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="date_from" class="form-label">Document Note </label>
        <textarea class="form-control" name="document_note" id="document_note" rows="5" cols="3">{!! $document->document_note !!}</textarea>
        <span class="text-danger error_document_note" style="display: none;">This field is required.</span>
    </div>
</form>
