Skip to content

Instantly share code, notes, and snippets.

@shankardevy
Created July 8, 2017 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shankardevy/f23d60e13660f02a459d21f66b093a7c to your computer and use it in GitHub Desktop.
Save shankardevy/f23d60e13660f02a459d21f66b093a7c to your computer and use it in GitHub Desktop.
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>Hello Mango!</title>
<link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
</head>
<body>
<!-- Pass `customer` variable to partial -->
<%= render "app_nav.html", conn: @conn, customer: @current_customer %>
<div 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>
<main role="main">
<%= render @view_module, @view_template, assigns %>
</main>
</div>
<script src="<%= 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