<%= notice %>

<%= turbo_frame_tag "filter" do %> <%= render @filter %>

<%= link_to 'Edit', edit_filter_path(@filter) %> | <%= link_to 'Back', filters_path, "data-turbo-frame": "_top" %>

<% end %>

Conditions

<%= render(@filter.conditions) || "No conditions yet" %>
<%= turbo_frame_tag "new_condition", src: new_filter_condition_path(@filter), target: "_top" %>

Operations

<%= render(@filter.operations) || "No operations yet" %>
<%= turbo_frame_tag "new_operation", src: new_filter_operation_path(@filter), target: "_top" %>