Last active
July 26, 2020 08:53
-
-
Save zetavg/d77201e0bd7b5e10f444 to your computer and use it in GitHub Desktop.
Rails simple flash message.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% flash.each do |type, message| %> | |
<p class="<%= type %>"><%= message %></p> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment