<%=l(:label_contest_plural)%>

<%= form_tag({}, :method => :get) do %>
<%= text_field_tag 'name', params[:name], :size => 30, :placeholder => '竞赛名称' %> <%= submit_tag l(:button_apply), :class => "small", :name => nil %> <%= link_to l(:button_clear), {:controller => 'admin', :action => 'contests'}, :class => 'icon icon-reload' %>
<% end %>  
<% @contests.each do |contest| %> "> <% end %>
序号 竞赛 公开 创建者 成员数 提交数 创建于 最新动态时间
<%= contest.id %> <%= link_to contest.name, contest_path(contest), :target => '_blank' %> <%= checked_image contest.is_public %> <%= link_to contest.user.show_name, user_path(contest.user), :target => '_blank' %> <%=contest.contest_members.count %> <%=contest.works.count %> <%= format_date(contest.created_at) %> <%= contest.contest_acts.order("updated_at asc").last.updated_at.strftime('%Y-%m-%d %H:%M:%S') %>
<% html_title(l(:label_project_plural)) -%>