From e586c3e2b30698ea5a1c83c19ea446c4be89fd54 Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Tue, 4 Mar 2014 18:57:50 -0500 Subject: Here's to messing everything up. --- app/views/tournaments/index.html.erb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/views/tournaments/index.html.erb (limited to 'app/views/tournaments/index.html.erb') diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb new file mode 100644 index 0000000..26d0643 --- /dev/null +++ b/app/views/tournaments/index.html.erb @@ -0,0 +1,27 @@ +

Listing tournaments

+ + + + + + + + + + + + + <% @tournaments.each do |tournament| %> + + + + + + + <% end %> + +
Tournament IDShow TournamentEdit TournamentDelete Tournament
<%= tournament.id %><%= link_to 'Show', tournament %><%= link_to 'Edit', edit_tournament_path(tournament) %><%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' } %>
+ +
+ +<%= link_to 'New Tournament', new_tournament_path, :class => "btn btn-warning btn-lg" %> -- cgit v1.2.3-54-g00ecf