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

13 lines
283 B
Plaintext
Raw Normal View History

<div>
2023-10-23 15:37:20 +00:00
<h1 class="text-center"><b><%= @letter.to_s %></b></h1>
</div>
2023-10-23 15:37:20 +00:00
<%= render "alphabetical_links", letter: @letter %>
<% @words.each do |word| %>
2023-10-23 15:37:20 +00:00
<div class="dictionary-entry p-4">
2023-10-22 18:05:01 +00:00
<h2><%= word.word %></h2>
<%= render "definitions", word: word %>
</div>
<% end %>