1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-06 05:55:21 +02:00
Maybe/app/views/rules/edit.html.erb
Zach Gollwitzer ab6fdbbb68
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions
Component namespacing (#2463)
* [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
2025-07-18 08:30:00 -04:00

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 %>