continue to backport old code
This commit is contained in:
20
app/views/wow_pets/index.html.erb
Normal file
20
app/views/wow_pets/index.html.erb
Normal file
@@ -0,0 +1,20 @@
|
||||
<h2>Pet list</h2>
|
||||
|
||||
<table class="table table-hover table-dark table-image">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><%= t('pet_list.name') %></th>
|
||||
<th scope="col"><%= t('pet_list.description') %></th>
|
||||
<th scope="col"><%= t('pet_list.owned') %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @wow_pets.each do |pet| %>
|
||||
<tr>
|
||||
<td><%= link_to pet.name, pet %></td>
|
||||
<td><%= pet.description %></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user