2024-05-28 19:16:43 +00:00
|
|
|
<% content_for :title, @table.name %>
|
|
|
|
|
|
|
|
<h2><%= @table.name %></h2>
|
|
|
|
|
2024-05-29 14:24:18 +00:00
|
|
|
<%= link_to t(".invite_user"), new_table_table_invite_path(@table) %>
|
2024-05-28 19:16:43 +00:00
|
|
|
<%= link_to t(".edit_table"), edit_table_path(@table) %>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt><%= t(".game_system") %>:</dt>
|
|
|
|
<dd><%= @table.game_system.name %></dd>
|
|
|
|
<dt><%= t(".owner") %>:</dt>
|
|
|
|
<dd><%= @table.owner.username %></dd>
|
|
|
|
</dl>
|
2024-05-29 15:47:31 +00:00
|
|
|
|
|
|
|
<% if @table_invites.any? %>
|
|
|
|
<h4>Pending invites</h4>
|
|
|
|
<ul>
|
|
|
|
<% @table_invites.each do |table_invite| %>
|
|
|
|
<li><%= table_invite.email %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|