Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

627 B
Raw Blame
<%= render DS::Dialog.new do |dialog| %>
  <% dialog.with_header(title: "Confirm new balance") %>
  <% dialog.with_body do %>
    <%= styled_form_with model: @entry, url: valuations_path, class: "space-y-4" do |form| %>
      <%= form.hidden_field :account_id %>
      <%= form.hidden_field :date %>
      <%= form.hidden_field :amount %>

      <%= render "confirmation_contents",
          reconciliation_dry_run: @reconciliation_dry_run,
          account: @account,
          entry: @entry,
          action_verb: "set",
          is_update: false %>

      <%= form.submit "Confirm" %>
    <% end %>
  <% end %>
<% end %>