app/views/ingredients/_fields_for_form.html.haml
.row.mb-4
.col-12
%h5 Ingredients
.ingredients
= f.fields_for :ingredients do |ingredient|
= render 'ingredients/ingredient_fields', f: ingredient
.links
= link_to_add_association f, :ingredients, partial: 'ingredients/ingredient_fields' do
%i.fa.fa-plus-circle
Add an ingredient