<style>
.mcp-theme-1 #uploadFile input[type="file"]::after {
    display: none;
}
</style>
<div moe wide>
    @if(@$edit)
    <a start show href="#" class="text-primary"><i class="fas fa-pencil-alt"></i></a>
    @else
    <a start show href="#" class="text-primary">Upload Results PDF</a>
    @endif
    <form url="{{ route('admin.orders.view.upload-file', $order) }}" id="uploadFile" right>
        <input type="hidden" name="file_name" value="results_attachment" />
        <div class="mb-2">
            <label class="fw-bold mb-1">Results Attachment</label>
            <input type="file" name="results_attachment" class="form-control form-control-sm" accept="application/pdf" />
        </div>
        <div>
            <button submit class="btn btn-sm btn-primary me-2">Upload</button>
            <button cancel class="btn btn-sm btn-default border">Cancel</button>
        </div>
    </form>
</div>
