Change helper into BigDecimal method

This commit is contained in:
2024-12-06 15:24:25 +01:00
parent 2e4eb3d4b5
commit 7e5f873cde
3 changed files with 23 additions and 25 deletions

View File

@@ -9,7 +9,7 @@
onclick: 'this.blur();', data: {turbo_stream: true} %>
</td>
<td><%= unit.description %></td>
<td class="number"><%= scientifize(unit.multiplier) %></td>
<td class="number"><%= unit.multiplier.to_html %></td>
<% if current_user.at_least(:active) %>
<td class="actions">