1
0
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:
2019-02-11 16:29:00 +00:00
parent 5a800fccb9
commit 77c416597a
8 changed files with 89 additions and 132 deletions

View File

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