<%= link_to_if_authorized l(:button_edit), { controller: :glossary_terms, action: :edit, project_id: @project }, class: 'icon icon-edit' %> <%= link_to_if_authorized l(:button_delete), { controller: :glossary_terms, action: :destroy, id: @term, project_id: @project }, method: :delete, data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
<%= render partial: 'sidebar' %>

<%=l :label_glossary_term %> #<%= @term.id %>

<%= @term.name %>

<%=l :field_category %> <%= @term.category.try!(:name) %>
<%=l :field_description %> <%= @term.description %>
<%=l :field_created_on %> <%= format_time(@term.created_at) %>
<%=l :field_updated_on %> <%= format_time(@term.updated_at) %>