Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActionView::TemplateError (no block given) on line #23 of match/generate.rhtml:
- 20: <p id="list-info"></p>
- 21:
- 22: <ul id="preGame">
- 23: <lh class="header"><%= link_to "Pre-Game (#{@match.runs.find_by_section(0).slots.find_all.length} items)", {:action => "refresh", :id => @match, :section => 0} %></lh>
- 24: <% for slot in @match.runs.find_by_section(0).slots.find(:all, :order => "pos asc") -%>
- 25: <li class="<%= cycle("odd", "even", :name => 'preGame') %>" id="slot_<%= slot.id %>"><span class="num" id="num_<%= slot.id %>"><%= ((slot.client_occurrence < 10)? '0' + slot.client_occurrence.to_s : slot.client_occurrence.to_s) %></span><%= Client.find(slot.client_id).short_name %> <strong><%= Campaign.find(slot.campaign_id).short_name if slot.campaign_id != 0 -%></strong></li>
- 26: <% end -%>
Add Comment
Please, Sign In to add comment