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/_contextual.html.erb
cryptogopher f9ba308072 Added test_create_binding_target
Goals (incl. binding) are required to have targets
Plugin fixtures are available through accessors
2020-08-20 21:52:18 +02:00

7 lines
359 B
Plaintext

<% if User.current.allowed_to?(:manage_body_trackers, @project) %>
<%= link_to t(".link_import_foods"), '#', class: 'icon icon-multiple',
onclick: '$("#import-foods").show(); $("#filename").focus(); return false;' %>
<%= link_to t(".link_new_food"), new_project_food_path(@project, view: view),
{remote: true, class: 'icon icon-add'} %>
<% end %>