about summary refs log tree commit diff stats
path: root/app/views
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 19:15:55 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 19:15:55 -0400
commit687299b33934d25017a226ba6b979e44f0b1f441 (patch)
treeb013bbc0384ac691fcb359a78e7e0234c3eb34f5 /app/views
parent2721f3768ebd4d279caa967bee210249d93f92cb (diff)
downloadpokeviewer-687299b33934d25017a226ba6b979e44f0b1f441.tar.gz
pokeviewer-687299b33934d25017a226ba6b979e44f0b1f441.tar.bz2
pokeviewer-687299b33934d25017a226ba6b979e44f0b1f441.zip
Added box names
Diffstat (limited to 'app/views')
-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