Sha256: f9aa15cabbcadb3d3cabd3ae78cf6c77e277628d65d3a2d3493119cb5ff20cf7

Contents?: true

Size: 704 Bytes

Versions: 19

Compression:

Stored size: 704 Bytes

Contents

<script type="application/javascript">
  // Flash handling
  $(document).bind('glow:flash', function(evt, flash) { console.log('glow flash'); $('#flash').html(flash.message); });
</script>

<p id="flash"><%= flash.map { |type, message| message }.join %></p>
<p><%= link_to 'redirect', action: :redirect, type: :notice, message: 'utf8: ✓ ' %></p>
<p><%= link_to 'rails ajax', {action: :ajax, type: :notice, message: 'rails ajax: ✓ '}, remote: true %></p>
<p><%= link_to 'jquery ajax', '#', id: 'ajax' %></p>

<script type="application/javascript">
  $('#ajax').click(function(){$.get('<%= url_for action: :ajax, type: :notice, message: 'jquery utf8: ✓', format: :js %>'); return false;});
</script>

Version data entries

19 entries across 10 versions & 1 rubygems

Version Path
glow-0.0.10 test/rails32/app/views/flash/show.html.erb
glow-0.0.10 test/rails3/app/views/flash/show.html.erb
glow-0.0.10 test/rails31/app/views/flash/show.html.erb
glow-0.0.9 test/rails3/app/views/flash/show.html.erb
glow-0.0.9 test/rails31/app/views/flash/show.html.erb
glow-0.0.8 test/rails31/app/views/flash/show.html.erb
glow-0.0.8 test/rails3/app/views/flash/show.html.erb
glow-0.0.7 test/rails31/app/views/flash/show.html.erb
glow-0.0.7 test/rails3/app/views/flash/show.html.erb
glow-0.0.6 test/rails3/app/views/flash/show.html.erb
glow-0.0.6 test/rails31/app/views/flash/show.html.erb
glow-0.0.5 test/rails3/app/views/flash/show.html.erb
glow-0.0.5 test/rails31/app/views/flash/show.html.erb
glow-0.0.4 test/rails31/app/views/flash/show.html.erb
glow-0.0.4 test/rails3/app/views/flash/show.html.erb
glow-0.0.3 test/rails31/app/views/flash/show.html.erb
glow-0.0.3 test/rails3/app/views/flash/show.html.erb
glow-0.0.2 test/dummy/app/views/flash/show.html.erb
glow-0.0.1 test/dummy/app/views/flash/show.html.erb