mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Change btn to btn btn-default
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><%= school.name %></td>
|
<td><%= school.name %></td>
|
||||||
<td><%= school.score %></td>
|
<td><%= school.score %></td>
|
||||||
<td><%= link_to 'Show', school , :class=>"btn" %><%= link_to 'Edit', edit_school_path(school), :class=>"btn" %><%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
|
<td><%= link_to 'Show', school , :class=>"btn btn-default" %><%= link_to 'Edit', edit_school_path(school), :class=>"btn btn-default" %><%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -59,8 +59,8 @@
|
|||||||
<% end %></td>
|
<% end %></td>
|
||||||
<td>
|
<td>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<%= link_to 'Show', wrestler , :class=>"btn" %>
|
<%= link_to 'Show', wrestler , :class=>"btn btn-default" %>
|
||||||
<%= link_to 'Edit', edit_wrestler_path(wrestler), :class=>"btn" %>
|
<%= link_to 'Edit', edit_wrestler_path(wrestler), :class=>"btn btn-default" %>
|
||||||
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<h1>Pick A Tournament</h1>
|
<h1>Pick A Tournament</h1>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn" %>
|
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn btn-default" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</br>
|
</br>
|
||||||
</br>
|
</br>
|
||||||
@@ -16,9 +16,9 @@
|
|||||||
<% @tournaments.each do |tournament| %>
|
<% @tournaments.each do |tournament| %>
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= tournament.name %></td>
|
<td><%= tournament.name %></td>
|
||||||
<td><%= link_to 'Show', tournament, :class=>"btn" %>
|
<td><%= link_to 'Show', tournament, :class=>"btn btn-default" %>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<%= link_to 'Edit', edit_tournament_path(tournament), :class=>"btn" %>
|
<%= link_to 'Edit', edit_tournament_path(tournament), :class=>"btn btn-default" %>
|
||||||
<%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
<%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -38,9 +38,9 @@
|
|||||||
<% @schools.each do |school| %>
|
<% @schools.each do |school| %>
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= school.name %></td>
|
<td><%= school.name %></td>
|
||||||
<td><%= link_to 'Show', school, :class=>"btn" %>
|
<td><%= link_to 'Show', school, :class=>"btn btn-default" %>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<%= link_to 'Edit', edit_school_path(school), :class=>"btn" %>
|
<%= link_to 'Edit', edit_school_path(school), :class=>"btn btn-default" %>
|
||||||
<%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
<%= link_to 'Destroy', school, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
@@ -70,9 +70,9 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><%= weight.max %></td>
|
<td><%= weight.max %></td>
|
||||||
<td><%= weight.bracket_size %></td>
|
<td><%= weight.bracket_size %></td>
|
||||||
<td><%= link_to 'Show', weight, :class=>"btn" %>
|
<td><%= link_to 'Show', weight, :class=>"btn btn-default" %>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<%= link_to 'Edit', edit_weight_path(weight), :class=>"btn" %>
|
<%= link_to 'Edit', edit_weight_path(weight), :class=>"btn btn-default" %>
|
||||||
<%= link_to 'Destroy', weight, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
<%= link_to 'Destroy', weight, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<% @weights.each do |weight| %>
|
<% @weights.each do |weight| %>
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= weight.max %></td>
|
<td><%= weight.max %></td>
|
||||||
<td><%= link_to 'Show', weight, :class=>"btn" %><%= link_to 'Edit', edit_weight_path(weight), :class=>"btn" %><%= link_to 'Destroy', weight, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
|
<td><%= link_to 'Show', weight, :class=>"btn btn-default" %><%= link_to 'Edit', edit_weight_path(weight), :class=>"btn btn-default" %><%= link_to 'Destroy', weight, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -43,9 +43,9 @@
|
|||||||
<td><% if wrestler.extra? == true %>
|
<td><% if wrestler.extra? == true %>
|
||||||
Yes
|
Yes
|
||||||
<% end %></td>
|
<% end %></td>
|
||||||
<td><%= link_to 'Show', wrestler , :class=>"btn" %>
|
<td><%= link_to 'Show', wrestler , :class=>"btn btn-default" %>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<%= link_to 'Edit', edit_wrestler_path(wrestler) , :class=>"btn" %>
|
<%= link_to 'Edit', edit_wrestler_path(wrestler) , :class=>"btn btn-default" %>
|
||||||
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' } , :class=>"btn btn-danger" %></td>
|
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' } , :class=>"btn btn-danger" %></td>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<td><%= Weight.find(wrestler.weight_id).max %></td>
|
<td><%= Weight.find(wrestler.weight_id).max %></td>
|
||||||
<td><%= wrestler.seed %></td>
|
<td><%= wrestler.seed %></td>
|
||||||
<td><%= wrestler.original_seed %></td>
|
<td><%= wrestler.original_seed %></td>
|
||||||
<td><%= link_to 'Show', wrestler , :class=>"btn" %><%= link_to 'Edit', edit_wrestler_path(wrestler), :class=>"btn" %><%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
|
<td><%= link_to 'Show', wrestler , :class=>"btn btn-default" %><%= link_to 'Edit', edit_wrestler_path(wrestler), :class=>"btn btn-default" %><%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user