From 7a8f0a0c74c96fcde2a38fbf98123b6c8d44308c Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Mon, 3 Mar 2014 15:03:26 -0500 Subject: Added some partial rendering. --- app/views/tournaments/_selected.html.erb | 25 +++++++++++++++++++++++++ app/views/tournaments/new.html.erb | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 app/views/tournaments/_selected.html.erb (limited to 'app/views') diff --git a/app/views/tournaments/_selected.html.erb b/app/views/tournaments/_selected.html.erb new file mode 100644 index 0000000..302283d --- /dev/null +++ b/app/views/tournaments/_selected.html.erb @@ -0,0 +1,25 @@ +
+

+
+ +

+

+
+ +

+

+
+ +

+

+
+ +

+

+
+ +

+

+ +

+
\ No newline at end of file diff --git a/app/views/tournaments/new.html.erb b/app/views/tournaments/new.html.erb index dee18fb..a47f643 100644 --- a/app/views/tournaments/new.html.erb +++ b/app/views/tournaments/new.html.erb @@ -4,9 +4,9 @@
+ <% render :partial => "selected" %>


-

-<%= link_to 'Create Tournament', "#", :class => "btn btn-warning btn-lg" %> + <%= link_to 'Back', tournaments_path %> -- cgit v1.2.3-2-g168b