Sha256: fc3bd504f7d573c37fc73b94f117604e314388453867ba5d4247b7291bfef6db

Contents?: true

Size: 349 Bytes

Versions: 93

Compression:

Stored size: 349 Bytes

Contents

- flash.each do |name, msg|
  - if msg.is_a?(String)
    %div{:class => "alert alert-#{name.to_s == 'notice' ? "info" : (name.to_s == 'error' ? "danger" : name.to_s)} alert-dismissible fade show", "role" => "alert"}
      %button.close{'type' => 'button', 'data-dismiss' => 'alert'}
        %span{'aria-hidden' => 'true'}= raw '×'
      = msg

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha16 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha15 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha14 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha13 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha12 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha11 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha10 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha9 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha8 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha7 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha6 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha5 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha4 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.4.5 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.4.4 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha3 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha2 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.5.0.alpha1 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.4.3 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-1.4.2 app/views/layouts/egov_utils/_messages.html.haml