% content_for :title, @table.name %>
<%= link_to t(".invite_user"), new_table_table_invite_path(@table), data: { turbo_frame: "_top" } %>
<%= link_to t(".edit_table"), edit_table_path(@table), data: { turbo_frame: "_top" } %>
- <%= t(".game_system") %>:
- <%= @table.game_system.name %>
- <%= t(".owner") %>:
- <%= @table.owner.username %>
<%= t(".characters") %>
<% if @table.characters.any? %>
<%= render @table.characters %>
<% else %>
<%= t(".no_characters") %>
<% end %>
<%= t(".users") %>
<% if @table.users.any? %>
<% @table.users.each do |user| %>
- <%= link_to user.username, user, data: { turbo_frame: "_top" } %>
<% end %>
<% else %>
<%= t(".no_users") %>
<% end %>
<% if @table_invites.any? %>
Pending invites
<% @table_invites.each do |table_invite| %>
- <%= table_invite.email %>
<% end %>
<% end %>