Unit: limit symbol length, change name:string -> description:text

Closes #11
Closes #12
This commit is contained in:
2024-11-24 15:13:59 +01:00
parent d6fdff252a
commit 3711251656
6 changed files with 28 additions and 16 deletions

View File

@@ -8,7 +8,7 @@
<%= link_to unit, edit_unit_path(unit), id: dom_id(unit, :edit),
onclick: 'this.blur();', data: {turbo_stream: true} %>
</td>
<td><%= unit.name %></td>
<td><%= unit.description %></td>
<td class="number"><%= scientifize(unit.multiplier) %></td>
<% if current_user.at_least(:active) %>