<h2>
  <b><%= _'Tso|Path' %>:</b>
  <%=h @tso.path %>
</h2>

<p>
  <b><%= _'Tso|Tah hash' %>:</b>
  <%=h @tso.tah_hash %>
</p>

<p>
  <b><%= _'Tso|Row' %>:</b>
  <%=h @tso.row_name %>
</p>

<p>
  <b><%= _'Tso|Md5' %>:</b>
  <%=h @tso.md5 %>
</p>

<p>
  <b>含まれる<%= _'Tso|Tah' %>:</b>
  <%= link_to h(@tso.tah.path), tah_path(@tso.tah) %>
</p>

<%-if logged_in? -%>
<%= link_to _('Edit'), edit_tso_path(@tso) %>
<%-end-%>

<%-unless @tso.collisions.empty?-%>
<p>
  <b><%= _'Tso|Collisions' %>:</b>
</p>
<table class="list tsos">
  <thead>
  <tr>
    <th><%= _'Tso|Path' %></th>
    <th><%= _'Tso|Tah' %></th>
    <th></th>
  </tr>
  </thead>

  <tbody>
<% for tso in @tso.collisions %>
  <tr class="<%= cycle('odd', 'even') %>">
    <td><%=h tso.path %></td>
    <td><%=h tso.tah.path %></td>
    <td><%= link_to _('Show'), tso %></td>
  </tr>
<% end %>
  </tbody>
</table>
<%-end-%>

<%-unless @tso.duplicates.empty?-%>
<p>
  <b><%= _'Tso|Duplicates' %>:</b>
</p>
<table class="list tsos">
  <thead>
  <tr>
    <th><%= _'Tso|Path' %></th>
    <th><%= _'Tso|Tah' %></th>
    <th></th>
  </tr>
  </thead>

  <tbody>
<% for tso in @tso.duplicates %>
  <tr class="<%= cycle('odd', 'even') %>">
    <td><%=h tso.path %></td>
    <td><%=h tso.tah.path %></td>
    <td><%= link_to _('Show'), tso %></td>
  </tr>
<% end %>
  </tbody>
</table>
<%-end-%>

<%-unless @tso.col_zeros.empty?-%>
<p>
  <b><%= _'Tso|Col zeros' %>:</b>
</p>
<table class="list tsos">
  <thead>
  <tr>
    <th><%= _'Tso|Path' %></th>
    <th><%= _'Tso|Tah' %></th>
    <th></th>
  </tr>
  </thead>

  <tbody>
<% for tso in @tso.col_zeros %>
  <tr class="<%= cycle('odd', 'even') %>">
    <td><%=h tso.path %></td>
    <td><%=h tso.tah.path %></td>
    <td><%= link_to _('Show'), tso %></td>
  </tr>
<% end %>
  </tbody>
</table>
<%-end-%>
