You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
306 B

6 months ago
6 months ago
6 months ago
6 months ago
  1. <%= turbo_frame_tag :notification do %>
  2. <% if flash.count.positive? %>
  3. <div data-controller="flash-toast"
  4. data-id="<%= flash.object_id %>"
  5. data-alert="<%= flash.alert %>"
  6. data-notice="<%= flash.notice %>">
  7. </div>
  8. <% flash.clear %>
  9. <% end %>
  10. <% end %>