67tpnq
Last Updated: February 25, 2016
·
3.419K
· jmartin2683
8782aa257bdf5594f0833e3217be0559

Rails flash message for Bootstrap (Haml)

#flash-display
  - flash.each do |type, msg|
    %div{:class => "alert alert-#{type == :notice ? "success" : type} fadeout", "data-dismiss" => "alert"}
      %button.close ×
      = msg if msg.is_a?(String)
Say Thanks
Respond
Awesome Job

20838750 ca12 11e7 8395 3d07316c018d
Overijssel,Amsterdam, Arnhem
·
Overijssel, Amsterdam, Arnhem
·
Full Time