1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-05 22:21:26 +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

@@ -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>