Fix nested form breaking Mark Paid & Deliver button

This commit is contained in:
Troll (Hermes Agent) 2026-08-11 03:10:17 +00:00
parent 8175327ce3
commit 0c79984619
2 changed files with 6 additions and 10 deletions

View file

@ -537,16 +537,10 @@
<hr style="border-color:#374151;margin:1rem 0">
<p style="color:#93c5fd;font-weight:600">Delivery options:</p>
<form method="POST" style="margin-bottom:.5rem">
<input type="hidden" name="action" value="save_delivery_options">
<label for="deliver_wav" style="display:flex;align-items:center;gap:.5rem;cursor:pointer;">
<input type="checkbox" id="deliver_wav" name="deliver_wav" value="1" {% if req.deliver_wav %}checked{% endif %} style="width:auto;margin:0">
Include WAV files in delivery email
</label>
<div class="actions">
<button type="submit" class="secondary">Save Delivery Options</button>
</div>
</form>
<label for="deliver_wav" style="display:flex;align-items:center;gap:.5rem;cursor:pointer;">
<input type="checkbox" id="deliver_wav" name="deliver_wav" value="1" {% if req.deliver_wav %}checked{% endif %} style="width:auto;margin:0">
Include WAV files in delivery email
</label>
<hr style="border-color:#374151;margin:1rem 0">