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

Version Path
endymion-origami-0.1.0 app/views/layouts/_flashes.html.erb
endymion-origami-0.1.1 app/views/layouts/_flashes.html.erb
endymion-origami-0.1.2 app/views/layouts/_flashes.html.erb
endymion-origami-0.1.3 app/views/layouts/_flashes.html.erb
endymion-origami-0.1.4 app/views/layouts/_flashes.html.erb
endymion-origami-0.1.5 app/views/layouts/_flashes.html.erb