Skip to content

Instantly share code, notes, and snippets.


shankardevy/app.html.eex Secret

Created Jul 14, 2017
What would you like to do?
<!DOCTYPE html>
<html lang="en">
<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") %>">
<%= render "app_nav.html" %>
<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 %>
<script src="<%= static_path(@conn, "/js/app.js") %>"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment