<%= content_tag :div,:class=>@tag_class do%>
  <ul class="default_widget_list">
    <% @data.each do |row_data| %>
      <%= content_tag(:li) do %>
        <div class="img app-pic">
          <%= image_tag row_data.send(@widget_image_field)%>
        </div>
        <div class="wrap">
          <% @frontend_field_names.each_with_index do |field,index|%>
              <%= content_tag(:span,link_to_field(row_data,field, @frontend_sat_to_links[index], {orig_page: @page_id.to_s}),:class=>@frontend_classes[index]) unless field.blank?%>
          <% end %>
        </div>
      <% end %>
    <% end %>
  </ul>
<% end %>
