<!-- agglomerations/index.html.erb Start -->
<h1 class="head">Agglomerationen</h1>
  <table style="white-space: nowrap">
    <tr>
      <th></th>
      <% @data.first.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(image_tag('16-em-pencil.png',{:border => 0}), {:action => 'edit', :id => row['id']}, { :title => 'Bearbeiten' }) %>
      </td>
      <% row.columns.each do |col| %>
        <td class="zeile<%= $x %>">
          <%= row[col] %>
        </td>
      <% end %>
      </tr>
    <% end %>
  </table>
    <br />
<!-- agglomerations/index.html.erb Ende -->
