1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 21:45:23 +02:00

Fix transfers and form currencies (#1477)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Zach Gollwitzer 2024-11-18 15:50:47 -05:00 committed by GitHub
parent fcb95207d7
commit 81d604f3d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 41 additions and 19 deletions

View file

@ -6,7 +6,7 @@
data: { turbo: false } do |form| %>
<div class="space-y-3">
<%= form.date_field :date, label: true, required: true, value: Date.today, min: Account::Entry.min_supported_date, max: Date.today %>
<%= form.money_field :amount, label: t(".amount"), required: true, default_currency: Current.family.currency %>
<%= form.money_field :amount, label: t(".amount"), required: true %>
</div>
<%= form.submit t(".submit") %>