Simply Fixed
<% for erratum in @errata -%>
<% next unless erratum.fix_category == 'FIXED' -%>
<% next unless erratum.fix_comment == '' -%>
<% next unless erratum.fixed_on.blank? -%>
<%= erratum.erratum_id %>
<% end %>
Fixed with comment
<% for erratum in @errata -%>
<% next unless erratum.fix_category == 'FIXED' -%>
<% next unless erratum.fix_comment != '' -%>
<% next unless erratum.fixed_on.blank? -%>
- <%= erratum.erratum_id %>: <%=
erratum.fix_comment %>
<% end -%>
Resolved without a change to the document
<% for erratum in @errata -%>
<% next unless erratum.fix_category == 'RESOLVED' -%>
<% next unless erratum.fixed_on.blank? -%>
- <%= erratum.erratum_id %>: <%=
erratum.fix_comment %>
<% end -%>
Deferred
<% for erratum in @errata -%>
<% next unless erratum.fix_category == 'DEFERRED' -%>
- <%= erratum.erratum_id %>: <%=
erratum.fix_comment %>
<% end -%>