mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-11 07:56:28 +00:00
Notice messages on all pages
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
<%= render 'layouts/lsidebar' %>
|
<%= render 'layouts/lsidebar' %>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-8" style="padding-left: 2%;">
|
<div class="col-md-8" style="padding-left: 2%;">
|
||||||
|
<p id="notice"><%= notice %></p>
|
||||||
<div id="view"><%= yield %></div>
|
<div id="view"><%= yield %></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2" >
|
<div class="col-md-2" >
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<p id="notice"><%= notice %></p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<strong>R:</strong>
|
<strong>R:</strong>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<p id="notice"><%= notice %></p>
|
|
||||||
|
|
||||||
<%= link_to "Back to #{@mat.tournament.name}", "/tournaments/#{@mat.tournament.id}", :class=>"btn btn-default" %>
|
<%= link_to "Back to #{@mat.tournament.name}", "/tournaments/#{@mat.tournament.id}", :class=>"btn btn-default" %>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
|
|
||||||
<p id="notice"><%= notice %></p>
|
|
||||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}",:class=>"btn btn-default" %>
|
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}",:class=>"btn btn-default" %>
|
||||||
<% if can? :manage, @school %>
|
<% if can? :manage, @school %>
|
||||||
| <%= link_to "Edit #{@school.name}", edit_school_path(@school),:class=>"btn btn-primary" %>
|
| <%= link_to "Edit #{@school.name}", edit_school_path(@school),:class=>"btn btn-primary" %>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<p id="notice"><%= notice %></p>
|
|
||||||
<%= link_to 'Back to browse tournaments', '/tournaments', :class=>"btn btn-default" %>
|
<%= link_to 'Back to browse tournaments', '/tournaments', :class=>"btn btn-default" %>
|
||||||
<% if can? :manage, @tournament %>
|
<% if can? :manage, @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" %>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<p id="notice"><%= notice %></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
|
|
||||||
<p id="notice"><%= notice %></p>
|
|
||||||
|
|
||||||
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}", :class=>"btn btn-default" %>
|
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}", :class=>"btn btn-default" %>
|
||||||
<% if can? :manage, @school %>
|
<% if can? :manage, @school %>
|
||||||
|
|||||||
Reference in New Issue
Block a user