Changes in ingredients index
This commit is contained in:
parent
9cbd540c43
commit
2e9d353935
@ -51,7 +51,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th><%= l(:field_name) %></th>
|
||||
<th><%= l(:field_ref_amount) %></th>
|
||||
<th><%= l(:field_reference) %></th>
|
||||
<th><%= l(:field_group) %></th>
|
||||
<th><%= l(:field_source) %></th>
|
||||
<th style="width:15%"><%= l(:field_action) %></th>
|
||||
@ -60,8 +60,8 @@
|
||||
<tbody>
|
||||
<% @ingredients.each do |i| %>
|
||||
<tr id="ingredient-<%= i.id %>" class="ingredient <%= 'hidden' if i.hidden %>">
|
||||
<td class="ingredientname"><%= i.name %></td>
|
||||
<td class="ref_amount"><%= i.ref_amount %> [<%= i.ref_unit.shortname %>]</td>
|
||||
<td class="name"><%= i.name %></td>
|
||||
<td class="reference"><%= i.ref_amount %> [<%= i.ref_unit.shortname %>]</td>
|
||||
<td class="group"><%= i.group %></td>
|
||||
<td class="source"><%#= i.source %></td>
|
||||
<td><%= delete_link ingredient_path(i), data: {} %></td>
|
||||
|
@ -2,7 +2,7 @@
|
||||
en:
|
||||
body_trackers_menu_caption: 'Body trackers'
|
||||
field_action: 'Action'
|
||||
field_ref_amount: 'Reference amount'
|
||||
field_reference: 'Reference'
|
||||
field_group: 'Group'
|
||||
field_source: 'Source'
|
||||
field_nutrients: 'Nutrients:'
|
||||
|
Reference in New Issue
Block a user