mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-06 22:37:33 +00:00
Removing bootstrap buttons all over the place and replacing with font awesome icons
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
|
||||
|
||||
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}", :class=>"btn btn-default" %>
|
||||
<% if can? :manage, @school %>
|
||||
| <%= link_to "Edit #{@wrestler.name}", edit_wrestler_path(@wrestler), :class=>"btn btn-primary" %>
|
||||
<% end %>
|
||||
<% cache ["#{@wrestler.id}", @wrestler] do %>
|
||||
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}", :class=>"btn btn-sm btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
<p>
|
||||
<strong>Name:</strong>
|
||||
<%= @wrestler.name %>
|
||||
<%= @wrestler.name %> <% if can? :manage, @school %><%= link_to " Edit", edit_wrestler_path(@wrestler), :class=>"fas fa-edit" %><% end %>
|
||||
</p>
|
||||
|
||||
<% cache ["#{@wrestler.id}", @wrestler] do %>
|
||||
<p>
|
||||
<strong>School:</strong>
|
||||
<%= @wrestler.school.name %>
|
||||
|
||||
Reference in New Issue
Block a user