redmine_glossary/app/views/glossary_terms/show.html.erb

25 lines
656 B
Plaintext
Raw Normal View History

2018-05-05 14:04:21 +02:00
<div class="contextual">
<%= link_to l(:button_edit), edit_glossary_term_path, class: 'icon icon-edit' %>
2018-05-05 15:59:12 +02:00
<%= link_to l(:button_delete), glossary_term_path, method: :delete,
data: {confirm: l(:text_are_you_sure)}, class: 'icon icon-del' %>
2018-05-05 14:04:21 +02:00
</div>
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
2018-05-04 02:40:20 +02:00
<h3><%= @term.name %></h3>
<table>
<tr>
<th><%=l :field_description %></th>
2018-05-04 02:40:20 +02:00
<td><%= @term.description %></td>
</tr>
<tr>
<th><%=l :field_created_on %></th>
<td><%= format_time(@term.created_at) %></td>
</tr>
<tr>
<th><%=l :field_updated_on %></th>
<td><%= format_time(@term.updated_at) %></td>
</tr>
2018-05-04 02:40:20 +02:00
</table>