% content_for :stylesheet do -%>
#content li {
height: 23px;
margin-top: 10px;
border-bottom: 2px solid #CBCBCB;
}
<% end -%>
<%= @people.title -%>'s Progress
<% if @breweries.empty? -%>
Epic slacking.
<% else -%>
<% for brewery in @breweries -%>
<%= show_brewery_link(brewery) -%>
<% for experience in @experiences.select { |e| e.beer.brewery_id == brewery.id } -%>- <%= experience_rating(experience) -%> <%= show_beer_link(experience.beer) -%>
<% end %>
<% end -%>
<% end -%>
<% content_for :script do -%>
addLoadEvent(function(){
var r;
<% for experience in @experiences do -%>
r = new Control.Rating('rating_div_<%= experience.id -%>',
{
min: 1,
max: 10,
rated: true,
value: <%= experience.rating %>
});
<% end -%>
});
<% end -%>
<% content_for :sidebar do -%>
You have tried <%= pluralize(@total_count , 'beer') -%>.
<% end -%>
<%= render :partial => 'shared/pagination_links' %>
<% content_for :auto_discoveries do -%>
<%= auto_discovery_link_tag :rss, { :format => :rss } %>
<% end -%>