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

12 lines
217 B
Plaintext
Raw Normal View History

2024-05-28 19:16:43 +00:00
<% content_for :title, t(".tables") %>
2024-05-30 16:08:51 +00:00
<h2><%= t(".tables") %></h2>
2024-05-28 19:16:43 +00:00
<%= link_to t(".new_table"), new_table_path %>
2024-05-30 16:08:51 +00:00
<% if @tables.any? %>
<%= render @tables %>
2024-05-28 19:16:43 +00:00
<% else %>
2024-05-30 16:08:51 +00:00
<p><%= t(".no_tables") %></p>
2024-05-28 19:16:43 +00:00
<% end %>