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:
@@ -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" >
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<p>
|
||||
<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" %>
|
||||
<br>
|
||||
|
||||
@@ -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" %>
|
||||
|
||||
@@ -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" %>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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" %>
|
||||
|
||||
Reference in New Issue
Block a user