Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f258af4980
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (26 sloc) 0.805 kb
<div class="page-header">
<h1>Browse Bands</h1>
</div>
<div class="row">
<div class="span6">
<h2>New Bumping Bands</h2>
<% for band in @new_bumps %>
<div class="media">
<div class="pull-left">
<%= image_tag band.image.url, :class => "img-polaroid" %>
</div>
<div class="media-body">
<h3><%= link_to band.name, band_url(:id => band.id) %></h3>
<% unless band.creator_id.nil? %>
<% user = User.find(band.creator_id) %>
<p>first bump by <%= link_to user.username, user_show_url(:id => user.id) %><br />
<%= time_ago_in_words(band.created_at) %> ago</p>
<% end %>
</div>
</div>
<% end %>
</div>
<div class="span6">
<h2>Hottest Bumping Bands</h2>
</div>
</div>
Jump to Line
Something went wrong with that request. Please try again.