wip order

This commit is contained in:
2025-03-05 12:37:41 +01:00
parent 56035bb32f
commit e54be98fe9
3 changed files with 40 additions and 49 deletions

View File

@@ -68,19 +68,16 @@
<textarea id="description" name="description" type="textarea" class="block w-full px-4 py-2 mt-2 text-gray-700 bg-white border border-gray-300 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-600 focus:border-blue-500 dark:focus:border-blue-500 focus:outline-none focus:ring"></textarea>
</div>
<div class="mb-4">
<label class="block text-sm/6 text-gray-900">Shipping</label>
<div class="space-y-2">
<label class="flex text-sm/6 items-center">
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="{{ .ID }}" name="shipping">
<span class="ml-2 text-sm/6 text-gray-900">Germany</span>
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="{{ .ID }}" name="shipping">
<span class="ml-2 text-sm/6 text-gray-900">International</span>
<input type="checkbox" class="form-checkbox h-4 w-4 text-gray-900" value="{{ .ID }}" name="shipping">
<span class="ml-2 text-sm/6 text-gray-900">Pickup</span>
</label>
</div>
</div>
<div class="flex mb-4">
<label for="DeliveryMethod" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white"></label>
<select name="DeliveryMethod" id="DeliveryMethod" required class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
<option selected value="">Shipping</option>
<option value="germany">germany (DHL) 3.99€</option>
<option value="international">international (DHL) 5.99€</option>
<option value="pickup">pickup 0.00€</option>
</select>
</div>
<p class="mt-10 text-center text-sm/6 text-red-500">
{{ .data.error }}