<%= form_tag({:controller => 'contests', :action => 'index'}, :method => :get, :id => 'contests_serch') do %>
<%=l(:label_contest_innovate_community)%> <%= l(:label_user_location) %> : <% if User.current.logged? %> <% unless User.current.user_extensions.identity == 1 %> <%= link_to(l(:label_newtype_contest), new_contest_contests_path, :class => 'icon icon-add', :target => "_blank") %> <% end %> <% end %>
<%=link_to l(:field_homepage), home_path %> > <%= l(:label_contest_innovate) %>
<% end %>
<% if @contests.size > 0%> <%#= sort_contest(@s_state)%>
<%= render :partial => 'contest_list', :locals => {:contests => @contests, :contest_pages => @contest_pages} %>
<% elsif @is_search%> <%= render :partial => "layouts/no_content"%> <% else %> <%#= sort_contest(@s_state)%>
<%= render :partial => 'contest_list', :locals => {:contests => @contests, :contest_pages => @contest_pages} %>
<% end %> <% html_title l(:label_contest_list)%>