<%= form.label :description, class: "block text-sm font-medium text-gray-700 mb-2" %>
<%= form.text_field :description,
class: "block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm",
placeholder: "Enter income description..." %>
<%= form.label :amount, class: "block text-sm font-medium text-gray-700 mb-2" %>
$
<%= form.number_field :amount,
class: "block w-full pl-7 pr-3 py-2 rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm font-mono",
placeholder: "0.00",
step: "0.01",
min: "0" %>
<%= form.label :member_id, "Member", class: "block text-sm font-medium text-gray-700 mb-2" %>
<%= form.select :member_id,
options_for_select(members, income.member_id),
{ prompt: "Select a member..." },
class: "block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 sm:text-sm" %>