tr.nested-fields td = f.select :escola_id, options_from_collection_for_select( \ @escolas, :id, :nome, f.object.try(:escola_id) \ ), { include_blank: "Selecione" }, class: "form-control s2" = error_for f.object, :escola_id td.center = link_to_remove_association " Remover", f, class: "btn btn-sm btn-danger icone-anular"