2020-09-12 18:43:17 -04:00
|
|
|
<!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"/>
|
|
|
|
<%= csrf_meta_tag() %>
|
|
|
|
<%= live_title_tag assigns[:page_title] || "RealEstate", suffix: " · Phoenix Framework" %>
|
|
|
|
<link phx-track-static rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
|
|
|
|
<script defer phx-track-static type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<section class="container">
|
|
|
|
<nav role="navigation">
|
|
|
|
<ul>
|
2020-09-14 12:34:31 -04:00
|
|
|
<li><%= link "Properties", to: Routes.property_index_path(@conn, :index) %></li>
|
2020-09-12 18:43:17 -04:00
|
|
|
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
|
|
|
|
<li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2020-09-12 20:07:02 -04:00
|
|
|
<%= render "_user_menu.html", assigns %>
|
2020-09-12 18:43:17 -04:00
|
|
|
</nav>
|
|
|
|
<a href="https://phoenixframework.org/" class="phx-logo">
|
|
|
|
<img src="<%= Routes.static_path(@conn, "/images/phoenix.png") %>" alt="Phoenix Framework Logo"/>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
</header>
|
|
|
|
<%= @inner_content %>
|
|
|
|
</body>
|
|
|
|
</html>
|