mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
17 lines
415 B
Plaintext
17 lines
415 B
Plaintext
<%= link_to "Back to rules", rules_path %>
|
|
|
|
<%= render DS::Dialog.new do |dialog| %>
|
|
<%
|
|
title = if @rule.name.present?
|
|
"Edit #{@rule.resource_type} rule \"#{@rule.name}\""
|
|
else
|
|
"Edit #{@rule.resource_type} rule"
|
|
end
|
|
%>
|
|
<% dialog.with_header(title: title) %>
|
|
|
|
<% dialog.with_body do %>
|
|
<%= render "rules/form", rule: @rule %>
|
|
<% end %>
|
|
<% end %>
|