Sha256: b1f577ca758a493eb902c8bdc7e073cfef96f2371c9c4ee481c0f3cbb99a1cea
Contents?: true
Size: 359 Bytes
Versions: 6
Compression:
Stored size: 359 Bytes
Contents
<div id="flash"> <% flash.each do |key, value| -%> <p id="flash_<%= key -%>" class="<%= key -%>"> <%= case key when 'success': image_tag 'bluetrip/icons/tick.png' when 'error': image_tag 'bluetrip/icons/cross.png' when 'notice': image_tag 'bluetrip/icons/key.png' end -%> <%= html_escape(value) -%> </p> <% end -%> </div>
Version data entries
6 entries across 6 versions & 1 rubygems