Small rearrangement of fields in transfer page

This commit is contained in:
qowevisa 2024-11-16 20:35:52 +02:00
parent 6e9d84deb9
commit 4692f841d4

View File

@ -122,16 +122,6 @@
{editingTransfer ? "Edit Transfer" : "Add New Transfer"} {editingTransfer ? "Edit Transfer" : "Add New Transfer"}
</h2> </h2>
<form onsubmit={saveTransfer} class="space-y-4"> <form onsubmit={saveTransfer} class="space-y-4">
<label class="block">
<span class="text-gray-700">Value:</span>
<input
type="text"
bind:value={currentTransfer.value}
required
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring focus:ring-indigo-200 focus:border-indigo-500"
/>
</label>
<label class="block"> <label class="block">
<span class="text-gray-700">From:</span> <span class="text-gray-700">From:</span>
<select <select
@ -160,6 +150,16 @@
</select> </select>
</label> </label>
<label class="block">
<span class="text-gray-700">Value:</span>
<input
type="text"
bind:value={currentTransfer.value}
required
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring focus:ring-indigo-200 focus:border-indigo-500"
/>
</label>
<div class="flex items-center space-x-4"> <div class="flex items-center space-x-4">
<label> <label>
Date: Date: