Noosfero/noosfero

View on GitHub
app/views/friends/remove.html.erb

Summary

Maintainability
Test Coverage
<div id="remove_friend">

<h1><%= _('Removing friend: %s').html_safe % @friend.name %></h1>

<%= profile_image @friend, :thumb, :class => 'friend_picture' %>

<p>
<%= _('Are you sure you want to remove %s from your friends list?').html_safe % @friend.name %>
</p>

<p>
</p>

<%= form_tag do %>
  <%= hidden_field_tag(:confirmation, 1) %>

  <%= submit_button(:ok, _("Remove"), :cancel => { :action => 'index'}) %>
<% end %>

</div><!-- end id="remove_friend" -->