Sha256: 580ba81bb9fc2ac0b317cdd8dbf86ad6d8ef9896a1a498140619cad9b120aed7
Contents?: true
Size: 758 Bytes
Versions: 7
Compression:
Stored size: 758 Bytes
Contents
<% if flash.has?(:err) %> <h3 class="err"><%= flash[:err] %></h3> <% end %> <% if flash.has?(:ok) %> <h3 class="ok"><%= flash[:ok] %></h3> <% end %> <% [:notice, :error, :success, :whatevz, :bliggety].each do |name| %> <form action="/<%= name %>" method="post" accept-charset="utf-8"> <label> <span> <% if flash.has?(name) %> <a href="/<%= name %>">View Current</a> <% end %> Set <code>flash[:<%= name %>]</code> <% if err = flash["err_on_#{name}"] %> <strong class="err_on">Required!</strong> <% end %> </span> <input type="text" name="message" value="" id="message"> </label> <input type="submit" value="Set Flash"> </form> <% end %>
Version data entries
7 entries across 7 versions & 2 rubygems