Created
October 29, 2012 16:38
-
-
Save jvans1/3974718 to your computer and use it in GitHub Desktop.
artist page view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Playlister</title> | |
</head> | |
<body> | |
<h1>Ruby Playlister</h1> | |
<h2>Artists</h2> | |
<h3><%=@artist_count%></h3> | |
<ul> | |
<%@artists.each do |artist| %> | |
<h2><a href = './artists/#{artist.name}'><%=artist.name %></h2><a> | |
<li><%=artist.songs.count%></li> | |
<%end%> | |
</ul> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment