Created
July 8, 2021 23:31
-
-
Save armandofox/8dd07e2ad5f19bf57d55d31ce787e9e9 to your computer and use it in GitHub Desktop.
application.html.erb
This file contains 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