The personal finance app for everyone (by everyone)
Ruby
<%# locals: (budget:, editable:) %>
<div class="flex flex-col gap-4 items-center justify-center h-full">
<%= icon "alert-triangle", size: "lg", color: "destructive" %>
<p class="text-secondary text-sm text-center"><%= t(".over_allocated_message") %></p>
<% if editable %>
<%= render DS::Link.new(
text: t(".fix_allocations"),
variant: "secondary",
size: "sm",
icon: "pencil",
icon_position: "right",
href: budget_budget_categories_path(budget, **budget_owner_query)
) %>
<% end %>
</div>