redmine_glossary/app/views/glossary_terms/index.html.erb
2020-01-02 19:39:19 +09:00

23 lines
374 B
Plaintext

<h2>GlossaryTermsController#index</h2>
<table class="list">
<thead>
<tr>
<th>name</th>
<th>description</th>
</tr>
</thead>
<tbody>
<% @glossary_terms.each do |term| %>
<tr>
<td class="name">
<%= term.name %>
</td>
<td class="description">
<%= term.description %>
</td>
</tr>
<% end %>
</tbody>
</table>