Dunfermline Songs

Songs in or near Dunfermline

<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>
<%= image_tag song.artwork(:medium_square, false), style: "width: 75px;", class: "img-rounded" %> <%= song.title %>
<% if song.owner %> by <%= link_to song.owner.name, song.owner %>
in <%= song.owner.city.name %>
<% end %> <%= time_ago_in_words(song.created_at) + " ago" %>
<%= song.get_upvotes.size %> <%= song.get_downvotes.size %> <% if current_user %> <% if current_user.voted_for? song %> <% if current_user.voted_as_when_voted_for song %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <% end %> <% else %> <%= link_to "", upvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-up fa-2x" %> <%= link_to "", downvote_me_song_path(song), method: :put, remote: true, class: "fa fa-thumbs-down fa-2x" %> <% end %> <% end %>