<%= form_with(model: [ condition.filter, condition ], data: { controller: "reset_form", action: "turbo:submit-end->reset_form#reset" }) do |form| %> <% if condition.errors.any? %>

<%= pluralize(condition.errors.count, "error") %> prohibited this condition from being saved:

<% end %>
<%= form.label :enabled %> <%= form.check_box :enabled %>
<%= form.label :property_type %> <%= form.text_field :property_type %>
<%= form.label :property_value %> <%= form.text_field :property_value %>
<%= form.label :test_method %> <%= form.text_field :test_method %>
<%= form.label :test_value %> <%= form.text_field :test_value %>
<%= form.label :inverted %> <%= form.check_box :inverted %>
<%= form.submit %>
<% end %>