mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
19 lines
633 B
Plaintext
19 lines
633 B
Plaintext
<%= render DS::Dialog.new do |dialog| %>
|
|
<% dialog.with_header(title: "Update balance") %>
|
|
<% dialog.with_body do %>
|
|
<%= styled_form_with model: @entry, url: valuation_path(@entry), method: :patch, class: "space-y-4", data: { turbo_frame: :_top } do |form| %>
|
|
<%= form.hidden_field :date %>
|
|
<%= form.hidden_field :amount %>
|
|
|
|
<%= render "confirmation_contents",
|
|
reconciliation_dry_run: @reconciliation_dry_run,
|
|
account: @account,
|
|
entry: @entry,
|
|
action_verb: "update",
|
|
is_update: true %>
|
|
|
|
<%= form.submit "Update" %>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|