1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-25 15:31:39 +00:00

Notice messages on all pages

This commit is contained in:
2016-01-18 18:31:15 +00:00
parent b71e5bdd78
commit 2d966c993f
7 changed files with 2 additions and 7 deletions

View File

@@ -1,4 +1,3 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Back to browse tournaments', '/tournaments', :class=>"btn btn-default" %>
<% if can? :manage, @tournament %>
| <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %>