TokiTranslate/app/views/application/_definitions.html.erb

13 lines
317 B
Plaintext

<table>
<tr>
<td class="px-2"><b>Part of Speech</b></td>
<td class="px-2"><b>Definition</b></td>
</tr>
<% word.definitions_for(language).each do |definition| %>
<tr>
<td class="px-2"><b><%= definition.pos %></b></td>
<td class="px-2"><%= definition.definition %></td>
</tr>
<% end %>
</table>