Added MealsController#new and form autocomplete for Food
Renamed QuantityColumn -> Exposure
This commit is contained in:
1
app/views/foods/autocomplete.json.erb
Normal file
1
app/views/foods/autocomplete.json.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= raw @foods.map { |f| {id: f.id, label: f.name, value: f.name} }.to_json %>
|
||||
Reference in New Issue
Block a user