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

Updated all links

This commit is contained in:
2015-06-30 16:56:36 +00:00
parent 0fddccf6f5
commit 5b17c49a20
25 changed files with 62 additions and 57 deletions

View File

@@ -1,5 +1,10 @@
<p id="notice"><%= notice %></p>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}",:class=>"btn btn-default" %> |
<% if user_signed_in? %>
<%= link_to "Edit #{@school.name}", edit_school_path(@school),:class=>"btn btn-primary" %>
<% end %>
<br>
<br>
<p>
<strong>Name:</strong>
<%= @school.name %>
@@ -15,17 +20,13 @@
<%= Tournament.find(@school.tournament_id).name %>
</p>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" %> |
<% if user_signed_in? %>
<%= link_to "Edit #{@school.name}", edit_school_path(@school) %> |
<% end %>
<br>
<br>
<% if user_signed_in? %>
<%= link_to "New #{@school.name} Wrestler" , "/wrestlers/new?school=#{@school.id}" %>
<%= link_to "New #{@school.name} Wrestler" , "/wrestlers/new?school=#{@school.id}", :class=>"btn btn-success"%>
<% end %>
<br>
<br>