Sha256: e245440572252c177800e79885a68fdbe649e47b5cb288f2c09c42f398cce113

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

<% flash.each do |key, value| %>
  <% if value.is_a?(String) %>
  <%= javascript_include_tag 'loldesign_publisher/publisher' %>
    <%= javascript_tag defer: 'defer' do %>
        jQuery(function(){
          vex.defaultOptions.className = "vex-theme-flat-attack <%= key %>";

          vex.dialog.alert({
            message: '<%= value %>',
            className: "vex-theme-flat-attack <%= key %>"
          });
        });
    <% end %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
loldesign_publisher-2.0.0 app/views/layouts/loldesign_publisher/modules/_messages.html.erb
loldesign_publisher-1.5.1 app/views/layouts/loldesign_publisher/modules/_messages.html.erb
loldesign_publisher-1.5.0 app/views/layouts/loldesign_publisher/modules/_messages.html.erb
loldesign_publisher-1.4.0 app/views/layouts/loldesign_publisher/modules/_messages.html.erb