1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +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

@@ -31,6 +31,7 @@
<%= render 'layouts/lsidebar' %>
</div>
<div class="col-md-8" style="padding-left: 2%;">
<p id="notice"><%= notice %></p>
<div id="view"><%= yield %></div>
</div>
<div class="col-md-2" >

View File

@@ -1,4 +1,3 @@
<p id="notice"><%= notice %></p>
<p>
<strong>R:</strong>

View File

@@ -1,4 +1,3 @@
<p id="notice"><%= notice %></p>
<%= link_to "Back to #{@mat.tournament.name}", "/tournaments/#{@mat.tournament.id}", :class=>"btn btn-default" %>
<br>

View File

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

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" %>

View File

@@ -1,4 +1,3 @@
<p id="notice"><%= notice %></p>

View File

@@ -1,6 +1,5 @@
<p id="notice"><%= notice %></p>
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}", :class=>"btn btn-default" %>
<% if can? :manage, @school %>
| <%= link_to "Edit #{@wrestler.name}", edit_wrestler_path(@wrestler), :class=>"btn btn-primary" %>