Sha256: 92f7de4460dd61dd46ea88b0d866b700f7cb87ad652d21ccc36e744a4fd9d8f8
Contents?: true
Size: 1.26 KB
Versions: 14
Compression:
Stored size: 1.26 KB
Contents
- if @instance.has_results? %table.results %thead = render :partial => 'race_performances/headings' %tbody = render :partial => 'race_performances/performance', :collection => @performances.completed = render :partial => 'race_performances/performance', :collection => @performances.incomplete - else %p.noresults Not available yet. - content_for :breadhead do = link_to "Race results", races_url, :class => 'breadhead' - content_for :breadhead do - home = Page.find_by_parent_id(nil) = link_to home.breadcrumb, home.url \> = link_to "Races", races_url \> = link_to @instance.race.name, race_url(@instance.race), :class => 'breadhead' \> = link_to @instance.name, race_instance_url(@instance), :class => 'breadhead' \> - content_for :title do = @instance.full_name = @category.name - content_for :introduction do %p There were = @performances.count people eligible for the = @category.name category: - content_for :see_also do %h3 More results from = @instance.full_name %p = link_to("Combined", race_instance_url(@race, @instance)) + ', ' = @instance.categories.map { |category| link_to category.name, race_category_url(@race, @instance, category) }.join(', ')
Version data entries
14 entries across 14 versions & 1 rubygems