diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 4d2624a..643b20b 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -31,6 +31,7 @@ <%= render 'layouts/lsidebar' %>
+

<%= notice %>

<%= yield %>
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb index 1d49910..9905992 100644 --- a/app/views/matches/show.html.erb +++ b/app/views/matches/show.html.erb @@ -1,4 +1,3 @@ -

<%= notice %>

R: diff --git a/app/views/mats/show.html.erb b/app/views/mats/show.html.erb index 8b4522e..566ce7f 100644 --- a/app/views/mats/show.html.erb +++ b/app/views/mats/show.html.erb @@ -1,4 +1,3 @@ -

<%= notice %>

<%= link_to "Back to #{@mat.tournament.name}", "/tournaments/#{@mat.tournament.id}", :class=>"btn btn-default" %>
diff --git a/app/views/schools/show.html.erb b/app/views/schools/show.html.erb index c56963f..58fe6d3 100644 --- a/app/views/schools/show.html.erb +++ b/app/views/schools/show.html.erb @@ -1,5 +1,4 @@ -

<%= notice %>

<%= 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" %> diff --git a/app/views/tournaments/show.html.erb b/app/views/tournaments/show.html.erb index 9ca40a7..9b29697 100644 --- a/app/views/tournaments/show.html.erb +++ b/app/views/tournaments/show.html.erb @@ -1,4 +1,3 @@ -

<%= notice %>

<%= 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" %> diff --git a/app/views/weights/show.html.erb b/app/views/weights/show.html.erb index cb92449..e65339c 100644 --- a/app/views/weights/show.html.erb +++ b/app/views/weights/show.html.erb @@ -1,4 +1,3 @@ -

<%= notice %>

diff --git a/app/views/wrestlers/show.html.erb b/app/views/wrestlers/show.html.erb index c207c4c..187f0ba 100644 --- a/app/views/wrestlers/show.html.erb +++ b/app/views/wrestlers/show.html.erb @@ -1,6 +1,5 @@ -

<%= notice %>

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