Detailed Statistics for <%= current_year %> per month
<%= form_tag best_boy_admin_details_path, :method => :get do %>
<%= hidden_field_tag :owner_type, current_owner_type %>
<%= hidden_field_tag :event, current_event %>
<%= select_tag :year, options_for_select(available_years, :selected => current_year), :onchange => "submit();" %>
<% end %>
Event Source |
<% month_name_array.each do |month| %>
<%= link_to month, best_boy_admin_monthly_details_path(:owner_type => current_owner_type, :event => current_event, :month => month, :year => current_year, :time_interval => "month") %> |
<% end %>
<% if available_event_sources? %>
<% @event_selected_year_occurrences.keys.reject { |k| k == "All" }.each do |source| %>
<%= source %> |
<% @event_selected_year_occurrences[source].keys.reject.each do |month| %>
<%= @event_selected_year_occurrences[source][month] %> |
<% end %>
<% end %>
<% end %>
All |
<% @event_selected_year_occurrences["All"].keys.each do |month| %>
<%= @event_selected_year_occurrences["All"][month] %> |
<% end %>