Sha256: 245a57c8f86d1074413ce546b6fccc217c28727f078efc0937cd5061a2c2d139

Contents?: true

Size: 362 Bytes

Versions: 11

Compression:

Stored size: 362 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
egov_utils-0.1.12 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.11 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.10 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.9 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.8 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.7 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.6 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.5 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.4 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.1 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.0 app/views/layouts/egov_utils/_messages.html.haml