diff --git a/app/views/contests/index.html.erb b/app/views/contests/index.html.erb new file mode 100644 --- /dev/null +++ b/app/views/contests/index.html.erb @@ -0,0 +1,26 @@ +

Listing contests

+ +
+ Go back to [<%= link_to 'contest management', :controller => 'contest_management', :action => 'index' %>] +
+ + + + + + + +<% @contests.each do |contest| %> + + + + + + + +<% end %> +
TitleEnabled
<%=h contest.title %><%=h contest.enabled %><%= link_to 'Show', contest %><%= link_to 'Edit', edit_contest_path(contest) %><%= link_to 'Destroy', contest, :confirm => 'Are you sure?', :method => :delete %>
+ +
+ +<%= link_to 'New contest', new_contest_path %>