TokiTranslate/app/views/dictionary/show.html.erb
2023-10-23 11:37:20 -04:00

13 lines
283 B
Plaintext

<div>
<h1 class="text-center"><b><%= @letter.to_s %></b></h1>
</div>
<%= render "alphabetical_links", letter: @letter %>
<% @words.each do |word| %>
<div class="dictionary-entry p-4">
<h2><%= word.word %></h2>
<%= render "definitions", word: word %>
</div>
<% end %>