Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (15 sloc) 531 Bytes
<div class="friend" id="<%= %>">
<div class="front">
<%= link_to friend, class: 'pic-link' do %>
<%= image_tag friend.avatar.url(:square) %>
<% end %>
<div class="back">
<span class="friend-name"><%= %></span>
<div class="actions">
<%= link_to 'Show', friend %>
<%= link_to 'Edit', edit_friend_path(friend) %>
<%= link_to 'Delete', friend, confirm: 'Are you sure you want to lose a friend?', method: :delete, class: 'destroy' %>