PostText/templates/layouts/main.html.ep

23 lines
407 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<title>Post::Text - <%= title %></title>
<%= asset 'main.css' %>
</head>
<body>
<% if (flash 'info') { =%>
<p class="field-with-info"><%= flash 'info' %></p>
<% } =%>
<h1>Post::Text</h1>
<nav>
<%= link_to List => 'threads_list' %>
<%= link_to New => 'post_thread' %>
</nav>
<hr>
<%= content =%>
<footer>
<p>In UTF-8 we trust.</p>
</footer>
</body>
</html>