Sha256: 461658a09dfb3a5c7346ff37fc9d13e0282b62182a09daceeeae780a95570e2f

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Cartoset</title>
  <%= stylesheet_link_tag 'reset.css', 'application.css' %>
  <%= yield :stylesheets %>
  <%= csrf_meta_tag %>
</head>
<body>

<div class="header">
  <% if logged_in? %>
    Hi <%= link_to current_user.username, admin_path %>! (<%= link_to('logout', logout_path) %>)
  <% else %>
    <%= link_to('admin', admin_path) %>
  <% end %>
</div>

<div id="main_content">
  <%= yield %>
</div>
<%= yield :javascripts %>

</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cartoset-0.0.2 app/views/layouts/application.html.erb
cartoset-0.0.1 app/views/layouts/application.html.erb