<%= content_tag :div,:class=>@tag_class do%>
<% @fields.each do |field|%> <% end %> <% @data.each do |row_data| %> <% @fields.each do |field|%> <% end %> <% end %>
<%= content_tag(:span,get_field_header(field[0]),:class=>field[1])%>
<%= content_tag(:span,link_to_field(row_data,field[0], field[2], {orig_page: @page_id.to_s}),:class=>field[1])%>
<% end %>