Fix text confirming investment heading support
We accidentally removed the `count` option in commit 55fb14ac, which
made the translation return a hash.
The test is a bit hacky, which makes me think changing the user
interface would probably be a better solution.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
method: "post",
|
||||
remote: (display_support_alert?(investment) ? false : true),
|
||||
data: (display_support_alert?(investment) ? {
|
||||
confirm: t("budgets.investments.investment.confirm_group") } : nil),
|
||||
confirm: t("budgets.investments.investment.confirm_group", count: investment.group.max_votable_headings) } : nil),
|
||||
"aria-hidden" => css_for_aria_hidden(reason) do %>
|
||||
<%= t("budgets.investments.investment.give_support") %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user