Created
July 8, 2021 23:31
-
-
Save armandofox/edf3975ee0a14025bf25739a719b6347 to your computer and use it in GitHub Desktop.
application.html.erb
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> RottenPotatoes! </title> | |
<link rel="stylesheet" href="https://getbootstrap.com/docs/4.0/dist/css/bootstrap.min.css"> | |
<%= javascript_include_tag :application %> | |
<%= csrf_meta_tags %> | |
</head> | |
<body> | |
<div class="container"> | |
<%- if flash[:notice] %> | |
<div class="alert alert-info text-center"><%=flash[:notice]%></div> | |
<%- elsif flash[:alert] %> | |
<div class="alert alert-danger text-center"><%=flash[:alert]%></div> | |
<% end %> | |
<%= yield %> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment