2018-05-04 09:00:43 +02:00
|
|
|
<h2><%=l :label_glossary_terms %></h2>
|
2018-05-01 17:42:01 +02:00
|
|
|
|
2018-05-05 14:04:21 +02:00
|
|
|
<div class="contextual">
|
|
|
|
<%= link_to l(:label_glossary_term_new), new_glossary_term_path, class: 'icon icon-add' %>
|
|
|
|
</div>
|
|
|
|
|
2018-05-02 02:58:59 +02:00
|
|
|
<table class="list">
|
2018-05-01 17:42:01 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2018-05-06 16:39:57 +02:00
|
|
|
<th>#</th>
|
2018-05-04 09:00:43 +02:00
|
|
|
<th><%=l :field_name %></th>
|
2018-05-06 16:39:57 +02:00
|
|
|
<th><%=l :field_category %></th>
|
2018-05-03 14:14:59 +02:00
|
|
|
<th><%=l :field_description %></th>
|
2018-05-01 17:42:01 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% @glossary_terms.each do |term| %>
|
2018-05-06 16:39:57 +02:00
|
|
|
<tr>
|
|
|
|
<td class="id">
|
|
|
|
<%= term.id %>
|
|
|
|
</td>
|
|
|
|
<td class="name">
|
|
|
|
<%= link_to term.name, term %>
|
|
|
|
</td>
|
|
|
|
<td class="roles">
|
|
|
|
<%= term.category.try!(:name) %>
|
|
|
|
</td>
|
|
|
|
<td class="description">
|
|
|
|
<%= term.description %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2018-05-01 17:42:01 +02:00
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|