<h1 class="head">Kläranlagen</h1>
<table style="white-space: nowrap">
  <tr>
    <th>EDIT</th>
    <% @columns.each do |col| %>
      <th title="<%= col['description'] %>"><%= col['human_name'] %></th>
    <%end %>
  </tr>

  <% @data.each do |row| %>
    <% zeile %>
    <tr>
      <td class="zeile<%= $x %>">
        <%= link_to('EDIT', { :controller => :plants, :action => 'edit', :id => row['id'] }, {}) %>
      </td>
      <% @columns.each do |col| %>
        <td class="zeile<%= $x %>">
          <%= row[col] %>
        </td>
      <% end %>
    </tr>
  <% end %>
</table>
