agenda-libre-ruby/app/views/layouts/_flash.html.haml

6 lines
133 B
Plaintext

#flash_messages
- flash.each do |key, value|
.flash(class="#{key}")
%h2=t key, scope: [:gflash, :titles]
%p= value