<% linkIDs << ("thumb" + current.to_s) if (img) linkIDs << ("fdLnk" + current.to_s) linkIDs << ("mLnk" + current.to_s) if (group) -%>
<% if (img != nil) -%> <% end %>
<% if(area.title != nil) %> <%=area.title.val%>
<% end %> <% area.elements.each do |area_elem| -%>
<% if(area_elem.elemTypeBool(@base_view_el_type.TEXT_BPV)) %> <%= render(:partial => "links_in_text", :locals => { :val => area_elem.val, :link_ids => linkIDs }) -%> <% end -%> <% if (area_elem.elemTypeBool(@base_view_el_type.DESC_FRAGMENT)) -%> <%=area_elem.label.val%> <%= render(:partial => "links_in_text", :locals => { :val => area_elem.value.val, :link_ids => linkIDs }) -%> <% end -%>
<% end -%> <% linkText = (img == nil) ? "Ver ficha" : "Ver ficha e imagen" %> <% if (group) %> <% end %>