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

11 lines
205 B
Plaintext

<% content_for :title, t(".tables") %>
<%= link_to t(".new_table"), new_table_path %>
<h2>Your tables</h2>
<% if @tables.any? %>
<%= render @tables %>
<% else %>
<p>You have no tables.</p>
<% end %>