21 lines
453 B
Plaintext
21 lines
453 B
Plaintext
<h1>Parts of Speech</h1>
|
|
|
|
<table>
|
|
<tr>
|
|
<td><b>Part of Speech</b></td>
|
|
<td><b>Definition</b></td>
|
|
<% unless current_user.blank? %>
|
|
<td><b>Translation</b></td>
|
|
<% end %>
|
|
</tr>
|
|
<% parts_of_speech.each do |item| %>
|
|
<tr>
|
|
<td><b><%= item.pos %></b></td>
|
|
<td><%= item.definition %></td>
|
|
<% unless current_user.blank? %>
|
|
<td><%= item.translations.first.definition %></td>
|
|
<% end %>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|