Guest User

Untitled

a guest
Apr 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. ActionView::TemplateError (no block given) on line #23 of match/generate.rhtml:
  2. 20: <p id="list-info"></p>
  3. 21:
  4. 22: <ul id="preGame">
  5. 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>
  6. 24: <% for slot in @match.runs.find_by_section(0).slots.find(:all, :order => "pos asc") -%>
  7. 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 %>&nbsp;<strong><%= Campaign.find(slot.campaign_id).short_name if slot.campaign_id != 0 -%></strong></li>
  8. 26: <% end -%>
Add Comment
Please, Sign In to add comment