<%- if observation.preconditions.present? && observation.preconditions.length > 0 -%> <%- observation.preconditions.each do |precondition| -%> <%= xml_for_precondition_cv(precondition) %> <%- end -%> <%- end -%>