_no_readings.html.erb 176 Bytes
<tr>
  <% col_number = reading_groups_owner?(@reading_group.id) ? 5 : 3 %>
  <td colspan="<%= col_number %>"><%= t('activemodel.errors.reading_group.no_readings') %></td>
</tr>