The interface of this method has changed and uses keyword arguments instead of a hash of options. This change will be particularly significant when upgrading to Ruby 3.
6 lines
149 B
Plaintext
6 lines
149 B
Plaintext
<div class="small-12 medium-4 column">
|
|
<%= tag.p(**options) do %>
|
|
<%= text %> <br><span class="number"><%= amount %></span>
|
|
<% end %>
|
|
</div>
|