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

11 lines
205 B
Plaintext
Raw Normal View History

2024-05-28 19:16:43 +00:00
<% 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 %>