Fix unused translations warning.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="row">
|
||||
<div class="small-12 column">
|
||||
<span class="note-marked">
|
||||
<%= t("budgets.investments.edit_image.#{investment_image_advice_note_key(@investment)}", title: @investment.title) %></p>
|
||||
<p><%= investment_image_advice_note(@investment) %></p>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<% end %>
|
||||
|
||||
<% if can?(:edit_image, @investment) %>
|
||||
<%= link_to t("budgets.investments.show.#{investment_image_button_text_key(@investment)}"),
|
||||
<%= link_to investment_image_button_text(@investment),
|
||||
edit_image_budget_investment_path(investment.budget, investment),
|
||||
class: 'button hollow float-right' %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user