diff --git a/app/views/notification/index.html.erb b/app/views/notification/index.html.erb
index 102c192..5248e2b 100644
--- a/app/views/notification/index.html.erb
+++ b/app/views/notification/index.html.erb
@@ -88,13 +88,13 @@
-
- <%= link_to 'Notice', "javascript: window.dispatchEvent(new CustomEvent('popup-toast', {detail: {
+ <%= button_tag 'Notice', onclick: "window.dispatchEvent(new CustomEvent('popup-toast', {detail: {
type: 'notice',
message: 'this is a message from within Stimulus'
}}))", class: 'btn btn-primary' %>
-
- <%= link_to 'Alert', "javascript: window.dispatchEvent(new CustomEvent('popup-toast', {detail: {
+ <%= button_tag 'Alert', onclick: "window.dispatchEvent(new CustomEvent('popup-toast', {detail: {
type: 'alert',
message: 'this is an alert by the way'
}}))", class: 'btn btn-secondary' %>