% content_for :main_header do %>
Filter #<%= @filter.id %>
<% end %>
<%= notice %>
<%= link_to '← Back to filters list', filters_path %>
<%= turbo_frame_tag "filter" do %>
<%= render @filter %>
<% 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" %>