<% if paper.title.present? %>
<%= t('e_paper.title') %>:
<%= paper.title %>
<% end %>
<%= t('e_paper.description') %>:
<%= paper_description %>
<%= paper_content %>
<% papers_data.each do |papers_data_hash| %>
<% topics = (papers_data_hash["topic_ids"].nil? ? papers_data_hash["topics"] : EPaperTopic.where(:id.in=>papers_data_hash["topic_ids"]).to_a) %>
<% topics.each do |topic| %>
<%
if topic.image.present?
topic_img_url = siteurl + topic.image.thumb.url
else
topic_img_url = nil
end
%>
" target="_blank"><%= topic.title %>
<% if topic_img_url %>

<% end %>
<% end %>
<% end %>