Sha256: be34cb200d6577940f6cf85273d7ba96daaf3a6a47f091c8d44ef144395bda08

Contents?: true

Size: 633 Bytes

Versions: 7

Compression:

Stored size: 633 Bytes

Contents

#alert-container
  - flash.keys.each do |f|
    .alert.alert-dismissible.fade.show(class="alert-#{f.gsub('notice', 'info').gsub('alert', 'warning')}" role="alert")
      -if flash[f].is_a? Hash
        - flash[f].values.each do |flsh|
          = "- #{flsh.first}"
          %br
          %button.close(type="button" data-dismiss="alert" aria-label="Close")
            %span(aria-hidden="true")
              = mdi_tag(size: 12, icon: :close)
      -else
        = flash[f]
        %button.close(type="button" data-dismiss="alert" aria-label="Close")
          %span(aria-hidden="true")
            = mdi_tag(size: 12, icon: :close)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shopapp-0.77.07 app/views/shopapp/_modal_errors.haml
shopapp-0.76.06 app/views/shopapp/_modal_errors.haml
shopapp-0.76.05 app/views/shopapp/_modal_errors.haml
shopapp-0.76.04 app/views/shopapp/_modal_errors.haml
shopapp-0.75.03 app/views/shopapp/_modal_errors.haml
shopapp-0.75.02 app/views/shopapp/_modal_errors.haml
shopapp-0.73.02 app/views/shopapp/_modal_errors.haml