mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 05:55:21 +02: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
16 lines
415 B
Text
16 lines
415 B
Text
<%= 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 %>
|