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

11 lines
227 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 %>
2024-05-29 08:09:58 +00:00
<h2>Tables you own</h2>
<% if @owned_tables.any? %>
<%= render @owned_tables %>
2024-05-28 19:16:43 +00:00
<% else %>
2024-05-29 08:09:58 +00:00
<p>You do not own any tables.</p>
2024-05-28 19:16:43 +00:00
<% end %>