Sha256: 7b74efa317919caa820eb0912601093e9751d6f407c9464e5ee0e75e5da9cbe2

Contents?: true

Size: 471 Bytes

Versions: 11

Compression:

Stored size: 471 Bytes

Contents

<h1>Flash message:</h1>

<% if flash[:info] -%>
  <p style="border: 2px solid black; background: #ccff99; padding: 5px; color: green;">
    <%= flash[:info] %>
  </p>

  <%= link_to 'GET',
        :controller => 'Caterpillar::Session', :action => :flash_msg -%><br />

  <% form_tag( :controller => 'Caterpillar::Session', :action => :flash_msg ) do -%>
    <div><%= submit_tag 'POST' %></div>
  <% end -%>


<% else -%>
  There is something wrong with flash.

<% end -%>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
caterpillar-1.6.0 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.4.4 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.4.3 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.4.2 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.4.1 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.4.0 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.3.1 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.2.5 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.0.7 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.0.6 portlet_test_bench/views/caterpillar/session/flash_display.html.erb
caterpillar-1.0.5 portlet_test_bench/views/caterpillar/session/flash_display.html.erb