mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 23:15:24 +02:00
Fix transaction form account pre-filling and form styles
This commit is contained in:
parent
a1d64d6c2e
commit
752835f492
3 changed files with 9 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
<% end %>
|
||||
|
||||
<section>
|
||||
<%= render "shared/transaction_type_tabs", active_tab: params[:nature] == "inflow" ? "income" : "expense" %>
|
||||
<%= render "shared/transaction_type_tabs", active_tab: params[:nature] == "inflow" ? "income" : "expense", account_id: params[:account_id] %>
|
||||
|
||||
<%= f.hidden_field :nature, value: params[:nature] || "outflow", data: { "transaction-form-target": "natureField" } %>
|
||||
<%= f.hidden_field :entryable_type, value: "Transaction" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue