Sha256: 63c581cea0db0b0fe239db6c81bea18dd1c95487cc3e5a6e5fca3d22a060be20

Contents?: true

Size: 424 Bytes

Versions: 6

Compression:

Stored size: 424 Bytes

Contents

/ Flash messages que se muestran en el HTML
/ slim-lint:disable LineLength
- flash_to_show = flash.select { |flash_message| flash_message[0].to_sym.in? ApplicationController._flash_types }
/ slim-lint:enable LineLength

- flash_to_show.each do |flash_type, message|
  .toast(class="bg-#{flash_type_to_class(flash_type)}-subtle" role="alert"
         aria-live="assertive" aria-atomic="true")
    .toast-body
      = message

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pg_rails-7.0.7 pg_layout/app/views/pg_layout/_flash.html.slim
pg_rails-7.0.6 pg_layout/app/views/pg_layout/_flash.html.slim
pg_rails-7.0.5 pg_layout/app/views/pg_layout/_flash.html.slim
pg_rails-7.0.4 pg_layout/app/views/pg_layout/_flash.html.slim
pg_rails-7.0.3 pg_layout/app/views/pg_layout/_flash.html.slim
pg_rails-7.0.2 pg_layout/app/views/pg_layout/_flash.html.slim