mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-13 16:40:48 +00:00
Updated layout
This commit is contained in:
17
app/views/layouts/_lsidebar.html.erb
Normal file
17
app/views/layouts/_lsidebar.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
|
||||
<!-- sidebar -->
|
||||
<% if @tournament %>
|
||||
<div class="affix" style="border-right:1px solid #000; padding-right: 1%;">
|
||||
<ul class="">
|
||||
<h5>Tournament Links</h5>
|
||||
<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>
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user