1
0

Renamed Ingredient comment -> notes

This commit is contained in:
cryptogopher
2020-03-25 00:26:35 +01:00
parent 08860cbfab
commit c262e82c7b
6 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
<div class="box tabular">
<p><%= f.text_field :name, size: 40, required: true %></p>
<p><%= f.text_area :comment, cols: 40, rows: 3, required: false,
<p><%= f.text_area :notes, cols: 40, rows: 3, required: false,
style: "width: 100%;" %></p>
<p>
<%= f.number_field :ref_amount, size: 8, required: true, min: 0,

View File

@@ -8,7 +8,7 @@
<thead>
<tr>
<th style="width:50%"><%= l(:field_name) %></th>
<th><%= l(:field_comment) %></th>
<th><%= l(:field_notes) %></th>
<th><%= l(:field_reference) %></th>
<th><%= l(:field_group) %></th>
<th><%= l(:field_source) %></th>
@@ -28,7 +28,7 @@
} %>
<%= i.name %>
</td>
<td class="comment ellipsible"><%= i.comment %></td>
<td class="notes ellipsible"><%= i.notes %></td>
<td class="reference value"><%= i.ref_amount %> [<%= i.ref_unit.shortname %>]</td>
<td class="group"><%= i.group %></td>
<td class="source">