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

12 lines
312 B
Plaintext
Raw Normal View History

2024-05-29 15:47:31 +00:00
<% content_for :title, t(".table_invites") %>
<h2><%= t(".table_invites") %></h2>
<% if @table_invites.any? %>
<% @table_invites.each do |table_invite| %>
2024-05-29 16:17:06 +00:00
<%= link_to table_invite.table.name, edit_table_invite_path(table_invite) %>
2024-05-29 15:47:31 +00:00
<% end %>
<% else %>
<p><%= t(".no_table_invites") %></p>
<% end %>