Fixed refinement

This commit is contained in:
=
2026-02-04 22:10:19 -05:00
parent 3a80307cc2
commit df7cee9524
5 changed files with 53 additions and 7 deletions

View File

@@ -21,7 +21,7 @@
<div class="card-body bg-light">
<div class="row align-items-center">
<div class="col-md-6">
<form id="refineForm" onsubmit="submitRefine(event)" class="d-flex">
<form id="refineForm" onsubmit="submitRefine(event); return false;" action="javascript:void(0);" class="d-flex">
<input type="hidden" name="source" value="draft">
<input type="hidden" name="selected_keys" id="refineSelectedKeys">
<input type="text" name="instruction" class="form-control me-2" placeholder="Refine this draft further (e.g. 'Fix the name spelling')..." required>