mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-17 05:15:36 +00:00
Updated all links
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
<%= f.collection_select :tournament_id, Tournament.all, :id, :name %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="actions">
|
||||
<%= f.submit %>
|
||||
<%= f.submit 'Submit', :class=>"btn btn-success" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<h1>Editing school</h1>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<%= render 'form' %>
|
||||
|
||||
<%= link_to 'Show', @school %> |
|
||||
<%= link_to 'Back', schools_path %>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<h1>New school</h1>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<%= render 'form' %>
|
||||
|
||||
<%= link_to 'Back', "/tournaments/#{@tournament.id}" %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user