25 lines
656 B
Plaintext
25 lines
656 B
Plaintext
<p id="notice"><%= notice %></p>
|
|
|
|
<%= turbo_frame_tag "filter" do %>
|
|
<%= render @filter %>
|
|
|
|
<p>
|
|
<%= link_to 'Edit', edit_filter_path(@filter) %> |
|
|
<%= link_to 'Back', filters_path, "data-turbo-frame": "_top" %>
|
|
</p>
|
|
<% end %>
|
|
|
|
<div id="conditions">
|
|
<h2>Conditions</h2>
|
|
<%= render(@filter.conditions) || "No conditions yet" %>
|
|
</div>
|
|
|
|
<%= turbo_frame_tag "new_condition", src: new_filter_condition_path(@filter), target: "_top" %>
|
|
|
|
<div id="operations">
|
|
<h2>Operations</h2>
|
|
<%= render(@filter.operations) || "No operations yet" %>
|
|
</div>
|
|
|
|
<%= turbo_frame_tag "new_operation", src: new_filter_operation_path(@filter), target: "_top" %>
|