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

23 lines
418 B
Plaintext

<h2><%=l :label_glossary_terms %></h2>
<table class="list">
<thead>
<tr>
<th><%=l :field_name %></th>
<th><%=l :field_description %></th>
</tr>
</thead>
<tbody>
<% @glossary_terms.each do |term| %>
<tr>
<td class="name">
<%= link_to term.name, term %>
</td>
<td class="description">
<%= term.description %>
</td>
</tr>
<% end %>
</tbody>
</table>