<% # encoding: utf-8 %>

<table>
<caption> <%= t("research") %> </caption>
<tbody>
<tr><th><%= t("research.year")%></th><td><%= @research.year %></td></tr>
<tr><th><%= t("research.language")%></th><td><%= @research.language %></td></tr>
<tr><th><%= t("research.research_title")%></th><td><%= @research.research_title %></td></tr>
<tr><th><%= t("research.extracted_chapters")%></th><td><%= @research.extracted_chapters %></td></tr>
<tr><th><%= t("research.publish_date")%></th><td><%= @research.publish_date %></td></tr>
<tr><th><%= t("research.url")%></th><td><%= link_to t(:url), @research.url, {:target => '_blank', :title => @research.journal_title} if !@research.url.blank? %></td></tr>
<tr><th><%= t("research.note")%></th><td><%= @research.note %></td></tr>
<tr><th><%= t("research.authors")%></th><td><%= "#{User.from_id(@research.create_user_id).name rescue ''},#{@research.authors rescue ''}"%></td></tr>
<tr><th><%= t("research.files")%></th>
<td>
<% if @research.research_files.size > 0 %>
		<div>
			<i class="icons-paperclip"></i>
			<div class="showFile">
					<% @research.research_files.each do | wjfile | %>
					<%= link_to wjfile.title, wjfile.file.url, {:target => '_blank', :title => wjfile.title} if wjfile.file.file %>
					<% end %>
			</div>
		</div>
	<% end %>
</td>
</tr>
</tbody>
</table>
