-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Flash Messages #81
Conversation
flashMessages.forEach(function(flashMessage) { | ||
flashMessage.style.display = 'none'; | ||
}); | ||
}, 5000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make it simple for now without a magic. I mean no need to hide it
d312aff
to
e38b754
Compare
aabefaa
to
11f72ff
Compare
@VladislavSokov please rebase it |
3f1dd3b
to
2d80d6d
Compare
753b71e
to
e7ca8a9
Compare
@@ -51,5 +51,8 @@ | |||
<p>No phantom migrations found.</p> | |||
<% end %> | |||
</div> | |||
<% flash.each do |key, message| %> | |||
<div class="flash <%= key %>"><%= message %></div> | |||
<% end %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VladislavSokov if there are too many migrations, will the user see this message? Is it ok? Please think about users
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think about users please
@VladislavSokov also please add an issue for this PR. |
Closes #86
Closes #79