From 808c604bf6d72469bd9028da1625c9b940595664 Mon Sep 17 00:00:00 2001 From: Jackson Pires Date: Fri, 13 Sep 2024 09:45:20 -0300 Subject: [PATCH] adjust dialog doc (#110) --- app/views/docs/dialog_view.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/docs/dialog_view.rb b/app/views/docs/dialog_view.rb index 61ca03f..bca2e8a 100644 --- a/app/views/docs/dialog_view.rb +++ b/app/views/docs/dialog_view.rb @@ -29,7 +29,7 @@ def view_template end end DialogFooter do - Button(variant: :outline, data: { action: 'click->dismissable#dismiss' }) { "Cancel" } + Button(variant: :outline, data: { action: 'click->rbui--dialog#dismiss' }) { "Cancel" } Button { "Save" } end end @@ -60,7 +60,7 @@ def view_template end end DialogFooter do - Button(variant: :outline, data: { action: 'click->dismissable#dismiss' }) { "Cancel" } + Button(variant: :outline, data: { action: 'click->rbui--dialog#dismiss' }) { "Cancel" } Button { "Save" } end end @@ -86,7 +86,7 @@ def view_template end end DialogFooter do - Button(variant: :outline, data: { action: 'click->dismissable#dismiss' }) { "Cancel" } + Button(variant: :outline, data: { action: 'click->rbui--dialog#dismiss' }) { "Cancel" } Button { "Save" } end end