diff --git a/app/views/layouts/_notification.html.erb b/app/views/layouts/_notification.html.erb index 5c996ba..8abe7ca 100644 --- a/app/views/layouts/_notification.html.erb +++ b/app/views/layouts/_notification.html.erb @@ -1,44 +1,10 @@

NOTIFICATION BAR

- +<% if flash %> + +<%end%> diff --git a/config/importmap.rb b/config/importmap.rb index 52f774d..b607570 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -5,3 +5,5 @@ pin '@hotwired/turbo-rails', to: 'turbo.min.js', preload: true pin '@hotwired/stimulus', to: 'stimulus.min.js' pin '@hotwired/stimulus-loading', to: 'stimulus-loading.js' pin_all_from 'app/javascript/controllers', under: 'controllers' + +pin 'notyf' # @3.10.0 diff --git a/vendor/javascript/notyf.js b/vendor/javascript/notyf.js new file mode 100644 index 0000000..2c6545c --- /dev/null +++ b/vendor/javascript/notyf.js @@ -0,0 +1,13 @@ +var __assign=function(){__assign=Object.assign||function __assign(t){for(var i,e=1,n=arguments.length;e