2024-08-01 18:27:41 +00:00
|
|
|
<h1>ID: <%= @tables_arrangement.id %></h1>
|
|
|
|
|
|
|
|
<p>Discomfort: <%= @tables_arrangement.discomfort %></p>
|
|
|
|
|
|
|
|
<h2>Seats</h2>
|
|
|
|
|
|
|
|
<% @seats.each do |table_number, seats| %>
|
|
|
|
|
|
|
|
<h3>Table <%= table_number %></h3>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<% seats.each do |seat| %>
|
2024-08-01 23:11:54 +02:00
|
|
|
<li><%= seat.guest.full_name %> (<%= seat.guest.affinity_groups.pluck(:name).join(", ") %>)</li>
|
2024-08-01 18:27:41 +00:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|