<% if data.num_tuples == 0 %>
     - 
<% else %>
  <% reset() %>
  <% reset_x() %>

  <table valign="top" style="white-space:nowrap">
        <tr>
          <% for col_name in data.fields %>
            <th>
              <%= col_name %>
            </th>
          <% end %>
        </tr>

      <% for row in data %>
        <% zeile %>
        <tr>
        <% for col_name in data.fields %>
          <td><%= row[col_name] %></td>
        <% end %>
        </tr>
      <%  end %>
  </table>
<% end %>