1
0
This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
body_tracking/app/views/foods/index.html.erb
cryptogopher 8e8160c41a Renamed Ingredient -> Food
Ingredient is now part of composition (meal/recipe/dish)
2020-04-14 19:44:19 +02:00

16 lines
375 B
Plaintext

<div class="contextual">
<%= link_to t(".heading_nutrient_view"), nutrients_project_foods_path(@project),
class: 'icon icon-stats' %>
<%= render partial: 'foods/contextual', locals: {view: :index} %>
</div>
<%= render partial: 'foods/import' %>
<div id="new-food">
</div>
<h2><%= t ".heading" %></h2>
<div id='foods'>
<%= render partial: 'foods/index' %>
</div>