Created
June 15, 2012 19:13
-
-
Save StlTenny/2938258 to your computer and use it in GitHub Desktop.
Small Script
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
<% [:error].each do |level| %> | |
<% unless flash[level].blank? %> | |
<script type="text/javascript"> | |
$('#myModal').modal('show') | |
</script> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment