Moved erb tag from views into shot chart partial