tabletop-companion/app/views/tables/index.html.erb

11 lines
227 B
Plaintext

<% content_for :title, t(".tables") %>
<%= link_to t(".new_table"), new_table_path %>
<h2>Tables you own</h2>
<% if @owned_tables.any? %>
<%= render @owned_tables %>
<% else %>
<p>You do not own any tables.</p>
<% end %>