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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user