Fixed localization issues, fixed text-warning not accessible,

This commit is contained in:
2025-11-30 10:28:50 +01:00
parent db8f2fcdf1
commit b005975c81
10 changed files with 76 additions and 20 deletions

View File

@@ -15,7 +15,7 @@
<form method="post" id="createOrderForm">
<div class="mb-3">
<label for="Name" class="form-label">@Localizer["OrderName"]</label>
<input type="text" class="form-control" id="Name" name="Name" placeholder="e.g., Pizza Party" required>
<input type="text" class="form-control" id="Name" name="Name" required>
<small class="text-muted">@Localizer["GiveOrderName"]</small>
</div>
@@ -32,7 +32,7 @@
</div>
<div class="col-md-4">
<div class="input-group">
<span class="input-group-text">$</span>
<span class="input-group-text">@Localizer["CurrencySymbol"]</span>
<input type="number" class="form-control" placeholder="@Localizer["Price"]" name="itemPrices[]" step="0.01" min="0">
</div>
</div>
@@ -67,7 +67,7 @@ document.getElementById('addItemBtn').addEventListener('click', function() {
</div>
<div class="col-md-4">
<div class="input-group">
<span class="input-group-text">$</span>
<span class="input-group-text">@Localizer["CurrencySymbol"]</span>
<input type="number" class="form-control" placeholder="@Localizer["Price"]" name="itemPrices[]" step="0.01" min="0">
<button type="button" class="btn btn-outline-danger" onclick="this.closest('.item-row').remove()">@Localizer["Remove"]</button>
</div>