about summary refs log tree commit diff stats
path: root/app/views/pokeviewer/pokemon/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pokeviewer/pokemon/index.html.haml')
-rw-r--r--app/views/pokeviewer/pokemon/index.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/pokeviewer/pokemon/index.html.haml b/app/views/pokeviewer/pokemon/index.html.haml index 69b6a68..e536080 100644 --- a/app/views/pokeviewer/pokemon/index.html.haml +++ b/app/views/pokeviewer/pokemon/index.html.haml
@@ -10,11 +10,11 @@
10 %li 10 %li
11 %span.party-icon= image_tag p.icon_path 11 %span.party-icon= image_tag p.icon_path
12 %span.party-name= link_to p.revisions.last.nickname, p 12 %span.party-name= link_to p.revisions.last.nickname, p
13 - trainer.boxes.each_with_index do |box,bid| 13 - trainer.boxes.each do |box|
14 .pc-box 14 .pc-box
15 %h3= "Box #{bid+1}" 15 %h3= box.name
16 %table.pc-contents 16 %table.pc-contents
17 - box.each_slice(6) do |row| 17 - box.contents.each_slice(6) do |row|
18 %tr 18 %tr
19 - row.each do |p| 19 - row.each do |p|
20 %td.pc-pokemon 20 %td.pc-pokemon