1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-15 09:46:25 +00:00

Went through views to make sure navigation is correct and views look ok

This commit is contained in:
2015-11-05 03:02:03 +00:00
parent 4fae1c2896
commit 7aad1ee429
15 changed files with 34 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
<%= link_to 'Back', root_path, :class=>"btn btn-default" %>
<%= link_to 'Back', tournaments_path, :class=>"btn btn-default" %>
<br>
<h1>Editing tournament</h1>

View File

@@ -1,4 +1,4 @@
<%= link_to 'Back', root_path, :class=>"btn btn-default" %>
<%= link_to 'Back', tournaments_path, :class=>"btn btn-default" %>
<br>
<h1>New tournament</h1>

View File

@@ -1,4 +1,4 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<h1>No Matches</h1>

View File

@@ -1,4 +1,4 @@
<%= 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" %>
<br>
<br>
<% @weights.each do |weight| %>