<!-- list.html.erb Start -->
<h1 class="head"><%= controller.heading %></h1>

<% unless @wiki_link.nil? %>
  <a href="<%= @wiki_link %>" title="Zur Online-Dokumentation der Prüfung" target="_BLANK">
    <i class="fa fa-question-circle-o" aria-hidden="true" alt="Zur Onlinedokumentation"  title="Zur Online-Dokumentation"></i> Zur Online-Dokumentation der Prüfung
  </a>
<% end %>
<% #session[:csv_data] = @data %>
<%= render :partial => 'layouts/table', :locals => {:data => @data} %>

<%  unless @data.empty? %>
  <button type="button" id="csvexport" onclick="window.location='<%= url_for :controller => 'csv_export', :action => :index, 'datensatz' => @datensatz, 'where' => @where %>'">
     CSV-Export
  </button>
<% end %>
<!-- list.html.erb Ende -->
