Displaying errors for uncomputable formulas in nutrients view
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
<% if @ingredients.any? %>
|
||||
<%= render partial: 'ingredients/options' %>
|
||||
|
||||
<%= error_messages_for *@quantities.map { |q| q.formula } %>
|
||||
|
||||
<table class="nutrients list odd-even">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user