fix(admin): affiliate program + product delete buttons missing text/closing tag

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-03-07 13:50:35 +01:00
parent 39225d6cfd
commit 608f0356a5
2 changed files with 2 additions and 0 deletions

View File

@@ -24,6 +24,7 @@
<form method="post" action="{{ url_for('admin.affiliate_program_delete', program_id=prog.id) }}" style="display:inline" hx-boost="true">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="btn-outline btn-sm"
onclick="return confirm('Delete this program?')">Delete</button>
</form>
</td>
</tr>

View File

@@ -23,6 +23,7 @@
<form method="post" action="{{ url_for('admin.affiliate_delete', product_id=product.id) }}" style="display:inline" hx-boost="true">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="btn-outline btn-sm"
onclick="return confirm('Delete this product?')">Delete</button>
</form>
</td>
</tr>