Sha256: 097ffb3f963eea5ab044744f41ace4a316214d9b6d886b2f6294e1831205b384

Contents?: true

Size: 348 Bytes

Versions: 11

Compression:

Stored size: 348 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' ? "alert" : 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

11 entries across 11 versions & 1 rubygems

Version Path
egov_utils-0.1.33 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.32 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.31 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.30 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.29 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.28 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.27 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.26 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.23 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.19 app/views/layouts/egov_utils/_messages.html.haml
egov_utils-0.1.18 app/views/layouts/egov_utils/_messages.html.haml