diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-13 10:57:20 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-13 10:57:20 -0400 |
commit | 5956609f70c72a26f64f9b8ec8b3d6d780ba5c2d (patch) | |
tree | 8330c36cd5a02f022720577922148f9698685923 /app/views | |
parent | cb6eebdf05c95f15ad6ce8968838772a2b915755 (diff) | |
download | pokeviewer-5956609f70c72a26f64f9b8ec8b3d6d780ba5c2d.tar.gz pokeviewer-5956609f70c72a26f64f9b8ec8b3d6d780ba5c2d.tar.bz2 pokeviewer-5956609f70c72a26f64f9b8ec8b3d6d780ba5c2d.zip |
Added gender symbol to Pokémon display
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/pokeviewer/pokemon/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/pokeviewer/pokemon/show.html.haml b/app/views/pokeviewer/pokemon/show.html.haml index 6c478ef..f3568fb 100644 --- a/app/views/pokeviewer/pokemon/show.html.haml +++ b/app/views/pokeviewer/pokemon/show.html.haml | |||
@@ -3,7 +3,7 @@ | |||
3 | .pokemon-nameline | 3 | .pokemon-nameline |
4 | = image_tag(@pokemon.pokeball_icon_path, class: "pokemon-ball") | 4 | = image_tag(@pokemon.pokeball_icon_path, class: "pokemon-ball") |
5 | %span.pokemon-name= @pokemon.revisions.last.nickname | 5 | %span.pokemon-name= @pokemon.revisions.last.nickname |
6 | %span.pokemon-gender N | 6 | %span.pokemon-gender{ class: @pokemon.gender }= @pokemon.gender_symbol |
7 | .pokemon-level= "Lv. #{@pokemon.revisions.last.level}" | 7 | .pokemon-level= "Lv. #{@pokemon.revisions.last.level}" |
8 | .pokemon-image | 8 | .pokemon-image |
9 | .pokemon-image-wrap= image_tag @pokemon.sprite_path | 9 | .pokemon-image-wrap= image_tag @pokemon.sprite_path |