Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
436 B
Raw Blame
<%# locals: (split_group:, view_ctx: "global") %>
<div class="split-group">
  <%= render "transactions/split_parent_row", entry: split_group.parent %>
  <% split_group.children.each do |child_entry| %>
    <% if child_entry.entryable.present? %>
      <%= render partial: child_entry.entryable.to_partial_path,
                locals: { entry: child_entry, in_split_group: true, view_ctx: view_ctx } %>
    <% end %>
  <% end %>
</div>