asciinema.org/app/views/layouts/application.html.erb
Marcin Kulik 58092ae50e Let's have separate page for login buttons
This way we can link to login page from comments section
if user is not authenticated
2012-03-04 11:33:11 +01:00

36 lines
687 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>ascii.io</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= render :partial => 'layouts/ga' %>
</head>
<body>
<div id="all">
<div id="top">
<div id="logo">
<h1>ascii.io</h1>
</div>
<div id="topnav">
<%= render :partial => 'layouts/session_info' %>
</div>
</div>
<div id="main">
<% if notice %>
<p id="notice" ><%= notice %></p>
<% elsif alert %>
<p id="alert" ><%= alert %></p>
<% end %>
<%= yield %>
<div class="clear"></div>
</div>
</div>
</body>
</html>