2022-04-14 20:46:28 +02:00
|
|
|
- if flash.any?
|
|
|
|
= turbo_stream.replace 'flash_messages', partial: 'layouts/flash_messages'
|
2023-09-11 16:36:55 +02:00
|
|
|
= turbo_stream.show 'flash_messages'
|
2022-05-08 12:35:20 +02:00
|
|
|
= turbo_stream.hide 'flash_messages', delay: 30000
|
2022-04-14 20:46:28 +02:00
|
|
|
- flash.clear
|
|
|
|
|
|
|
|
= yield
|