tabletop-companion/app/views/layouts/admin.html.erb

15 lines
451 B
Plaintext

<% content_for :submenu do %>
<h2><%= t("administration") %>: <%= content_for :title %></h2>
<nav>
<ul>
<li><%= link_to t(".dashboard"), admin_index_path %></li>
<li><%= link_to t(".game_systems"), admin_game_systems_path %></li>
<% if Rails.env.production? %>
<li><%= link_to t(".jobs"), jobs_path, target: "_blank" %></li>
<% end %>
</ul>
</nav>
<% end %>
<%= render template: "layouts/application" %>