<% # encoding: utf-8 %>

<table>
<caption> <%= t("honor") %> </caption>
<tbody>
<tr><th><%= t("honor.category")%></th><td><%= @honor.honor_category.title if @honor.honor_category %></td></tr>
<tr><th><%= t("honor.year")%></th><td><%= @honor.year %></td></tr>
<tr><th><%= t("honor.language")%></th><td><%= @honor.language %></td></tr>
<tr><th><%= t("honor.award_name")%></th><td><%= @honor.award_name %></td></tr>
<tr><th><%= t("honor.awarding_unit")%></th><td><%= @honor.awarding_unit %></td></tr>
<tr><th><%= t("honor.url")%></th><td><%= link_to t(:url), @honor.url, {:target => '_blank', :title => @honor.award_name} if !@honor.url.blank? %></td></tr>
<tr><th><%= t("honor.note")%></th><td><%= @honor.note %></td></tr>
<tr><th><%= t("honor.authors")%></th><td><%= User.from_id(@honor.create_user_id).name rescue '' %></td></tr>
</tbody>
</table>
