Translated "new bidding" form.

This commit is contained in:
2026-02-14 14:52:04 +01:00
parent dbaa6d136a
commit f6d5f8d2ca

View File

@ -20,13 +20,13 @@ defmodule BeetRoundServerWeb.BiddingLive.Form do
</footer>
<% else %>
<.form for={@form} id="bidding-form" phx-change="validate" phx-submit="save">
<.input field={@form[:amount]} type="number" label="Betrag" />
<.input field={@form[:depot_wish_one]} type="text" label="Depot Wunsch 1" />
<.input field={@form[:depot_wish_two]} type="text" label="Depot Wunsch 2" />
<.input field={@form[:bidding_round]} type="number" readonly hidden />
<.input field={@form[:amount]} type="number" label="Amount" />
<.input field={@form[:depot_wish_one]} type="text" label="Depot wish one" />
<.input field={@form[:depot_wish_two]} type="text" label="Depot wish two" />
<footer>
<.button phx-disable-with="Bearbeitung..." variant="primary">Gebot abgeben</.button>
<.button navigate={return_path(@current_scope, @return_to, @bidding)}>Cancel</.button>
<.button navigate={return_path(@current_scope, @return_to, @bidding)}>Abbrechen</.button>
</footer>
</.form>
<% end %>