
<form id="UpdatePosterForm" action="{{ route('admin.samplequestions-update') }}" method="POST" enctype="multipart/form-data">
    @csrf
    <input type="hidden" name="id" value="{{ base64_encode($data->id) }}">

    <div class="form-group">
        <label>Question</label>
        <input type="text" name="editquestion" class="form-control rounded-2 mt-2" value="{{ $data->question }}">
        <p class="text-danger" id="error-editquestion"></p>
    </div>

    <div class="d-flex justify-content-end mt-3">
        <button type="submit" class="btn btn add-btn px-4 py-2">Submit</button>
    </div>
</form>
