TokiTranslate/app/views/dictionary/show.html.erb

13 lines
304 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, language: @language %>
</div>
<% end %>