<%= _('Join community') %>
<%= link_to( profile_image(task.requestor, :minor, :border => 0), task.requestor.public_profile_url ) %>
<%= _('%s invited you to join the community %s') %
[content_tag('strong', link_to( task.requestor.name, task.requestor.public_profile_url ) ),
content_tag('strong', link_to( task.community.name, task.community.public_profile_url ) )] %>
<% form_for('task', task, :url => { :action => 'close', :id => task.id } ) do |f| %>
<%= radio_button_tag(:decision, 'finish', true,
:id => "decision-finish-#{task.id}",
:onclick => "Element.show('group-for-friend-#{task.id}')") %>
<%= radio_button_tag(:decision, 'cancel', false,
:id => "decision-cancel-#{task.id}",
:onclick => "Element.hide('group-for-friend-#{task.id}')") %>
<% button_bar do %>
<%= submit_button(:ok, _('Ok!')) %>
<% end %>
<% end %>