Created
November 25, 2019 17:41
-
-
Save jorgedjr21/d8dfc6917f97d1b509920ea7392e384a to your computer and use it in GitHub Desktop.
lib/contasapp_web/templates/layout/app.html.eex
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 lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
<title>Contasapp · Phoenix Framework</title> | |
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/> | |
</head> | |
<body> | |
<!-- HEADER --> | |
<%= render "_navbar.html", conn: @conn %> | |
<main role="main" class="container"> | |
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p> | |
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p> | |
<%= render @view_module, @view_template, assigns %> | |
</main> | |
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment