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

23 lines
328 B
Plaintext

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