mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Updated layout
This commit is contained in:
@@ -4,12 +4,7 @@
|
||||
<a class="navbar-brand navbar-custom-brand" href="/">WrestlingDev</a>
|
||||
</div>
|
||||
<ul class="nav navbar-nav navbar-right navbar-custom-link">
|
||||
<% if @tournament %>
|
||||
<li><%= link_to "Brackets" , "/tournaments/#{@tournament.id}/brackets" %></li>
|
||||
<li><%= link_to "Upcoming Matches" , "/tournaments/#{@tournament.id}/up_matches" %></li>
|
||||
<li><%= link_to "Results" , "/tournaments/#{@tournament.id}/results" %></li>
|
||||
<li><%= link_to "Team Scores" , "/tournaments/#{@tournament.id}/team_scores" %></li>
|
||||
<% end %>
|
||||
|
||||
<li><%= link_to "About", "/static_pages/about" %></li>
|
||||
<% if user_signed_in? %>
|
||||
<li><%=link_to "Log out", destroy_user_session_url ,:method => 'delete' %></li>
|
||||
|
||||
Reference in New Issue
Block a user