Dictionary index and show styling

This commit is contained in:
maddiebaka
2023-10-23 11:37:20 -04:00
parent 366921b1d3
commit e73a6b3fc9
5 changed files with 62 additions and 8 deletions

View File

@@ -1,6 +1,11 @@
<%= sanitize alphabetical_links, tags: ["a"] %>
<h1 class="text-center">Index</h1>
<%= render "alphabetical_links" %>
<p><%= @parts_of_speech.count %> parts of speech entries in database</p>
<p><%= @words.count %> word entries in database</p>
<div class="p-4">
<p><%= @parts_of_speech.count %> parts of speech entries in database</p>
<p><%= @words.count %> word entries in database</p>
</div>
<%= render "partsofspeech", parts_of_speech: @parts_of_speech %>
<div class="p-4">
<%= render "partsofspeech", parts_of_speech: @parts_of_speech %>
</div>