1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Updated layout

This commit is contained in:
2015-12-04 18:45:39 +00:00
parent c0e555edb3
commit 1591d8d7de
5 changed files with 31 additions and 15 deletions

View File

@@ -1,8 +1,9 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Back to browse tournaments', '/tournaments', :class=>"btn btn-default" %>
<% if tournament_permissions(@tournament) %>
<%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %> |
| <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %>
<% end %>
<%= link_to 'Back', '/tournaments', :class=>"btn btn-default" %>
<h1>
<%= @tournament.name %>