<%- @breadcrumbs = [@project, @scenario, @matcher.new? ? "New Matcher" : "Edit Matcher"] -%> <%= error_messages_for @matcher %> <%= form_tag_for(@matcher, :base_url => "/projects/#{@project.id}/scenarios/#{@scenario.id}/matchers") %>

Comparisons

<%- if @matcher.comparisons.count == 0 -%>
There are currently no fields selected.
<%- end -%>
"> <%- @matcher.comparisons.each_with_index do |comparison, i| -%> <%- end -%>
# Value 1 Value 2
<%= i + 1 %> <%= comparison.lhs_label %> <%= comparison.operator_symbol %> <%= comparison.rhs_label %> Delete
<%- @matcher.comparisons.each_with_index do |comparison, i| -%> <%-# This could be done in one loop, but it's a lot less readable -%> <%- end -%>

Add comparison

Finish

"> You must add at least one field before finishing, or you can cancel.
"> or Cancel