TokiTranslate/app/views/dictionary/index.html.erb
2023-10-12 20:05:35 -04:00

18 lines
405 B
Plaintext

<h1>Dictionary#index</h1>
<p>Find me in app/views/dictionary/index.html.erb</p>
<p><%= @parts_of_speech.count %> parts of speech entries in database</p>
<h1>Parts of Speech</h1>
<table>
<tr>
<td><b>Part of Speech</b></td>
<td><b>Definition</b></td>
</tr>
<% @parts_of_speech.each do |item| %>
<tr>
<td><%= item.pos %></td>
<td><%= item.definition %></td>
</tr>
<% end %>
</table>