1
0
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:
2015-04-22 08:48:44 -04:00
parent 4dcac987ac
commit 76050233d4
7 changed files with 14 additions and 14 deletions

View File

@@ -14,7 +14,7 @@
<tr>
<td><%= school.name %></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>
<% end %>
</tbody>

View File

@@ -59,8 +59,8 @@
<% end %></td>
<td>
<% if user_signed_in? %>
<%= link_to 'Show', wrestler , :class=>"btn" %>
<%= link_to 'Edit', edit_wrestler_path(wrestler), :class=>"btn" %>
<%= 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" %>
<% end %>
</td>

View File

@@ -1,6 +1,6 @@
<h1>Pick A Tournament</h1>
<% 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 %>
</br>
</br>
@@ -16,9 +16,9 @@
<% @tournaments.each do |tournament| %>
<tr>
<td><%= tournament.name %></td>
<td><%= link_to 'Show', tournament, :class=>"btn" %>
<td><%= link_to 'Show', tournament, :class=>"btn btn-default" %>
<% 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" %>
<% end %>
</td>

View File

@@ -38,9 +38,9 @@
<% @schools.each do |school| %>
<tr>
<td><%= school.name %></td>
<td><%= link_to 'Show', school, :class=>"btn" %>
<td><%= link_to 'Show', school, :class=>"btn btn-default" %>
<% 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" %>
<% end %>
</td>
@@ -70,9 +70,9 @@
<tr>
<td><%= weight.max %></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? %>
<%= 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" %>
<% end %>
</td>

View File

@@ -12,7 +12,7 @@
<% @weights.each do |weight| %>
<tr>
<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>
<% end %>
</tbody>

View File

@@ -43,9 +43,9 @@
<td><% if wrestler.extra? == true %>
Yes
<% end %></td>
<td><%= link_to 'Show', wrestler , :class=>"btn" %>
<td><%= link_to 'Show', wrestler , :class=>"btn btn-default" %>
<% 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>
<% end %>
</tr>

View File

@@ -18,7 +18,7 @@
<td><%= Weight.find(wrestler.weight_id).max %></td>
<td><%= wrestler.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>
<% end %>
</tbody>