Sha256: e406f03ce1d9486a1130cfaff2ee6c2f5f44acace49a6502d1b6bf1b40142216

Contents?: true

Size: 366 Bytes

Versions: 9

Compression:

Stored size: 366 Bytes

Contents

<% if flash.any? %>
  <% flash.each do | msg_type, message | %>
    <% flash.delete(:timedout) %>
    <%- next unless !message.nil? && message.to_s.length.positive? %>
    <div class="ui <%= flash_class(msg_type) %> message transition">
      <i class="close icon"></i>
      <div class="header">
        <%= message %>
      </div>
    </div>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
semantic_ui_views_generator-0.0.9 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.4 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.3 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.2 lib/generators/semantic/templates/shared/_messages.html.erb
semantic_ui_views_generator-0.0.1 lib/generators/semantic/templates/shared/_messages.html.erb