diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-03 21:30:13 -0500 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-03 21:30:13 -0500 |
commit | 46fba3e280d601b2b2981dd145bab3bb11194b30 (patch) | |
tree | 39bbdf87d30995e730f287e8dfb6a1609d40de06 /app/views/static | |
parent | 271f890f06ac94a785f3223d0c44a7fa8b9d74f7 (diff) | |
parent | 25ec3364c15751207cd9dd56157e103a4ee9d782 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Log out
Diffstat (limited to 'app/views/static')
-rw-r--r-- | app/views/static/homepage.html.erb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/static/homepage.html.erb b/app/views/static/homepage.html.erb index 29ae4f0..5887d5f 100644 --- a/app/views/static/homepage.html.erb +++ b/app/views/static/homepage.html.erb @@ -1,12 +1,13 @@ <div role="main" class="container theme-showcase"> - <!-- Main jumbotron for a primary marketing message or call to action --> <div class="jumbotron"> <h1>Welcome to Leaguer</h1> <p>This is a tournment management system designed to be used for any team sport. Our peer review system ensures that the best players move on to the next round! Try creating a new tournament and having people sign up for it. </p> <p id="jumbo-buttons"> + <% if !signed_in? %> <%= link_to 'Log In', "/signin", :class => "btn btn-warning btn-lg", :role => "button" %> - <%= link_to 'Sign Up', "/signup", :class => "btn btn-warning btn-lg", :role => "button" %> + <%= link_to 'Sign Up', "/signup", :class => "btn btn-warning btn-lg", :role => "button" %> + <% end %> <%= link_to 'See Ongoing Tournaments', tournaments_path, :class => "btn btn-warning btn-lg", :role => "button" %> </p> </div> |